[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re[4]: lua_closethread
- From: Dmitry Shubin <emage@...>
- Date: Fri, 11 Jul 2003 12:24:09 +0400
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
----