lua-users home
lua-l archive

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


Hello Nick,

Thursday, July 10, 2003, 9:19:45 PM, you wrote:


>> I think it is not necessary to close thread by any function. Threads
>> is stored in the lua state and garbage-collected like tables or
>> functions.

NT> I believe this is correct, but a little confusing, because the handle
NT> you have for your thread/coroutine is a lua_State*.

IMHO, this is like userdata. They stored in lua state and the same
time have "real world" (outside of lua state) pointers.


Dmitry Shubin

----