lua-users home
lua-l archive

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


> >>> In manual described lua_closethread, but I did not find it.
> >>> Is it exists?
> >>No, it's a bug in the manual. See the Bugs page on the Lua website.
> NT> And how close thread? In bugs page no solution.
> 
> 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.
> 
> To All: Is that right?

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

--nick