tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sigwait() and SIGSEGV

On Sun, 13 Dec 2009, Sad Clouds wrote:

> If one of the other threads dereferences a NULL pointer, the program hangs. I
> don't understand why sigwait() does not catch SIGSEGV. Does sigwait() only
> work with asynchronous signals?

I don't know. However, signal(7) lists the functions that are safe to call
from a signal handler and neither printf(3) nor exit(3) are included..


Home | Main Index | Thread Index | Old Index