[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua and signal trapping
- From: Spencer Schumann <gauchopuro@...>
- Date: Tue, 19 Jul 2005 16:39:00 -0600
You may also want to look at the way SIGINT is handled in the Lua
interpreter (in src/lua/lua.c). The signal handler sets a hook
that is called the next time a Lua VM instruction is executed.
On 7/19/05, Mark McDonald <mdmcdonald@fastmail.fm
> wrote:In my initial investigation of Lua, I am struck by it's elegance,
but I have not seen any capability to trap unix signals (
i.e. sighup,
sigint).
If I have missed this, please correct me.
Best regards, Mark
"Linux is for people who hate M$ Windows; BSD is for people who love
Unix."