[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Re[2]: yielding inside a function
- From: RLake@...
- Date: Tue, 18 Nov 2003 11:21:25 -0500
Rici> You can achieve roughly the effect you are looking for by running
Rici> the Lua function in its own thread, though.
Antero> And how can I do it?
It is well described on page 34 of the reference manual (section 3.20)
Ignore the sentence about lua_closethread(). Threads are
garbage-collected,
and cannot be closed explicitly.