[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Breaking infinite loops / stopping code execution from C
- From: read.beyond.data@...
- From: Celvin <read.beyond.data@...>
- Date: Mon, 19 Aug 2002 19:10:46 -0300
- Date: Tue, 20 Aug 2002 00:11:27 +0200
Hi there....
I was just wondering if there is any way to immediately stop Lua execution,
say, if some user scripts enter an infinite loop, for example, so that the
interpreter state is/can be restored to resume execution
after the script got edited. There should be some function call available
in the api that tells Lua to end execution on the fly, so that scripts can
be terminated from C.I'd really appreciate some help with this. Thanks in
advance.
Regards, Celvin