lua-users home
lua-l archive

Re: longjmp and state

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


> 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

AltStyle によって変換されたページ (->オリジナル) /