RE: [AD] double signal hang fix |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> I see. To protect against this, I think the signal handler should not
> trust allegro_exit() to do what it is supposed to. The old signal
> handlers (i.e. the ones that were present when allegro_init() was
> called) should be restored by the signal handler itself,
> before it calls
> allegro_exit().
Is it possible to call this while a signal is being processed by
a handler installed by this same function ?
--
Vincent Penquerc'h