[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: Re: yielding inside a function
- From: "Curt Carpenter" <curtc@...>
- Date: Tue, 18 Nov 2003 09:51:52 -0800
> 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).