28 Dec
2011
28 Dec
'11
5:40 a.m.
Giampaolo RodolĂ wrote:
The behavior I would expect when facing such a problem is the following:
* I want my exit function to always be called, no matter what o I'm aware that it won't be called in case of SIGKILL or os._exit() though * I do not want to override previously registered signal handlers (if any) o Instead I want the old handler to be called fist and my exit function to be called last
Aren't nested handlers usually called in a last-in/first-out manner? ~Ethan~