[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: longjmp and state
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 26 Jan 2006 11:46:32 -0200
> If a routime called by a lua_CFunction longjmps way back (bellow the
> point where the lua machine was called) would the lua machine be
> still usable?
Not exactly... The thread that did the longjmp should not be used.
You could use other threads, but I am not sure whether that would
be completely safe either.
> If it doesn't, Is there a way to protect the machine from such
> backward jumps .
How do you protect them in ethereal?
-- Roberto