real-time signals cause program termination
Hi, i'm using posix real-time signals for notification of socket events, and sigwaitinfo to get the events. My problem is whenever I receive a real-time signal my app terminates. If I set a signal handler function for the real-time signal, the application does not terminate. But I want to use sigwaitinfo() to get the signal and not a signal handler func.
I understand that an unhandled RT signal causes program termination, so I block the signal using pthread_sigmask()(since i'm running multithreaded) but i'm still getting the signals.
i'm using red hat enterprise 3, can anyone explain why I can't seem to block the RT signals...
Many Thanks!
Last edited by miles_christian; 08-16-2006 at 12:37 AM.
|