[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Fiber based coroutines
- From: David Burgess <dburgess@...>
- Date: Tue, 9 Aug 2005 09:00:48 +1000
> Followers of this thread may also be interested in the GetThreadContext
> and SetThreadContext functions in the Win32 API. These functions allow
> an application to implement coroutines and are supported from Windows
> 95 onward. Presumably, fibers are built on these.
I suspect not. GetThreadContext is exported from the debug library.
And questions for Wim,
Can you further explain the weak keyed table?
and
I think it would be a good idea to add a __gc to something that
will execute ConvertFiberToThread() when lua_close() is called.
David Burgess.