lua-users home
lua-l archive

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


>  In LUA 5.0 docs, lua_closethread() is used to close thread created by
>  lua_newthread() but I cannot see any function lua_closethread() in the
>  source code.

Sorry, this is a bug in the documentation. Threads are subject to
regular garbage collection, so there is no function to close them.

-- Roberto