On Tue, 2005-08-09 at 21:41 +0200, Bodo Stroesser wrote: > S > > To me, the man pages make more sense, and I think the kernel is wrong. > > Yes, that's what I think, too. If someone doesn't want additional signals > to be masked, he can set sa_mask to be empty. > OTOH, I have no idea, what POSIX specifies. Maybe kernel is right and man > page is wrong? > > Bodo > > Man pages and kernel are right. I just tested this out on 2.6.13-rc3 with the attached program and it seems to follow what is stated in the man pages. So the assumption of what the code did by looking at it proves to be the mistake. :-) Conclusion: sa_mask defers the signals. SA_NODEFER defers the sent signal. -- Steve