On Saturday, 7 February 2015 at 18:30:00 UTC, Danny wrote:
[snip]
Seems to work fine so far. Not sure whether it's safe to
raise() inside a signal handler. Calling raise() without
reinstalling the old signal handler is a very bad idea, I
[snip]
I'm not sure that it's really safe to cal
On Friday, 6 February 2015 at 19:40:44 UTC, Danny wrote:
Hi,
if I want to clean up inside a signal handler and then exit the
process (as it would have without me handling it), what do I do?
Can I exit() inside a signal handler or should I use a more
direct "quit now" function? (after all, it