lua-users home
lua-l archive

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


On Dec 1, 2010, at 12:51 AM, John Labenski wrote:

> On one hand, perhaps it is as simple as not allowing any C++ callbacks
> to be created from within a coroutine since this means that the C++
> callback may try to run a function it refed in the registry in a
> suspended or worse yet, a dead callback. Both of these are not
> allowed, right?

Well, callbacks to suspended threads are OK with certain caveats; see:
http://lua-users.org/lists/lua-l/2010-02/msg00447.html

e