lua-users home
lua-l archive

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

That's really too bad; here's my vote for adding the thread reset API.

So, if I can't re-use the thread, how can I at least free it to allow its resources and variables allocated to be collected?  Is this possible?

On Apr 29, 2007, at 3:11 AM, David Burgess wrote:

Scan the list. I dont think you can. You can reuse threads that have
terminated normally.
If you throw from the thread there is no stack cleanup function.
Roberto has mentioned the possibility of adding a thread reset API, but at the
moment I think you are out of luck.


grrr waaa