Signal handlers must be reentrant.
Generic logging code is most definitely not reentrant.
Lessons learned? Don't do anything even mildly complicated... change the flags that need to be changed, reset the handler and get the hell out.
Posted by Dave at May 15, 2004 09:32 AM