This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/1951] sigset() does not correctly return SIG_HOLD


------- Additional Comments From michael dot kerrisk at gmx dot net  2006-04-23 22:43 -------
Subject: Re:  sigset() does not correctly return SIG_HOLD

> I've checked in a patch which adjusts the return value.  I
> also added the test case.

Thanks.

> But the man page should say that this behavior is useful only (if ever) in
> signal threaded code.  The handler is a process property and other threads
> might as well change it.  The result if sigset cannot be used to reliably
> restore the previous signal setting.

Yes, the same comments hold for signal() and sigaction() too.  Maybe I 
will add something to signal(7) on this point.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=1951

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]