lua-users home
lua-l archive

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


LEGO wrote:
If it doesn't, Is there a way to protect  the machine from such
backward jumps .

Never call the routines directly? Have two threads, one the ethereal server, the other the lua client. To communicate between the two, post messages back and forth. That way when one or the other uses longjmp exceptions, they'll never interfere with each other. Your ethereal server exception handlers could be modified to post an error message back to the lua client.

--
Lisa
http://www.thecommune.org.uk/~lisa/