lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> 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?
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.