[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Exception handling questions
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 29 Nov 2004 17:00:32 -0200
> 3. The panic case documentation indicates that the "Lua" is
> invalid. Is it the entire universe that is invalid or just this thread
> within the universe? Can I simply arrange for the thread to be
> garbage collected?
Inside the Lua state it is just the thread. But you probably will
have stacked C calls (after all, the whole point of a long jump is to
remove such calls). So, unless you have a separated C stack for this
thread (i.e., multithreading or C coroutines) the entire universe is
compromised.
-- Roberto