4 ms·
I've linked to this before, but AFAIK it's still relevant as the gotchas regarding signals haven't changed. Slides from a talk titled "Signal Handlers" from Ope
by marios 10y ago
I've linked to this before, but AFAIK it's still relevant as the gotchas regarding signals haven't changed. Slides from a talk titled "Signal Handlers" from OpenBSD developer Henning Brauer : http://www.openbsd.org/papers/opencon04/index.html http://www.openbsd.org/papers/opencon04/index.html
To answer the articles question: should you be scared of Unix signals ? No. But you shouldn't do anything complicated in the signal handlers.