lua-users home
lua-l archive

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


I think I see how this would work.
My additonal  problem is that I have environments that lifetime
does not match the thread lifetime.

As a slightly offf topic question, the doco says that once a coroutine
returns then it is dead and cant be resumed again.
Do you know the rules for C created threads and C lua_resume?
Can I keep using the thread lua_State if the lua_resume returns
an error or completes?

DB