You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Laurent PETIT <lp...@sqli.com> on 2001/10/19 17:49:30 UTC

Compatibility of handling SIGUSR1 signal in a program using Xerces C++

Hello,

I made a program which is not threaded.

For the purpose of my program, I need a personal handler for SIGUSR1 signals.
I then redefined the default handler by using the signal() system call.

My program is not catching the signal() function the way expected.

I followed the general FAQ, but didn't find an answer to my question, which is:

Is it safe to handle this signal ?
If no, is there any other signal for which it is safe ?

Thanks in advance for your responses,

Laurent PETIT.