lua-users home
lua-l archive

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


> Ignore the sentence about lua_closethread(). Threads are
garbage-collected, and cannot be closed explicitly.

Make sure you understand that it's not enough to just not call
lua_closethread. You have to explicitly reference your thread when it's
created, or you will crash is very non-obvious ways (heap corruption).

Curt