Re: how to implement cleaning function ( atexit() like )
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: how to implement cleaning function ( atexit() like )
 
- From: Luiz Henrique de Figueiredo <lhf@...>
 
- Date: Thu, 4 Apr 2013 11:55:30 -0300
 
> You means it rely on underlying OS to handle signals, right ? Because I
> can confirm that even a non interactive Lua program can be stopped by a
> *SIGINT* or a *SIGQUIT* (at least under Linux).
Yes. The interactive Lua interpreter handles SIGINT to provide tracebacks.
It does not handle SIGQUIT because it's not ANSI C (though it is POSIX).