Hi all,

If msgrcv() or accept() system call is called with IPC_NOERROR, it goes to
blocked state waiting for the message on the queue. This system call is made
from a thread and that thread gets blocked at this call. Now some other
thread generates a real time signal for which a handler has been associated
(All other signals are blocked).And after associating handler with that
signal siginterrupt(signo,0) is called. When that signal is received by
process, the control switches to signal handler and  SIGSTOP is generated
and the blocked system call msgrcv() returns with errnoJnd if accept()
is blocked, it exits when control switches to signal handler and gdb shows
following output
received signal 57                                (signal no. 57 has the
handler associated with it)    
Switching to thread [some thread no]
0x401290a2 in __lib_accept() 

Somebody help me out of this situation.

Amit



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to