This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug nptl/415] pthread_cancel does not unwind stack when thread is cancelled inside signal handler
- From: "drepper at redhat dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 1 Oct 2004 08:56:37 -0000
- Subject: [Bug nptl/415] pthread_cancel does not unwind stack when thread is cancelled inside signal handler
- References: <20040929190407.415.yufeng_xiong@ltx.com>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From drepper at redhat dot com 2004-10-01 08:56 -------
What you want is completely bogus, this never can work anywhere reliably. Which
is why it is not required in POSIX.
The only thing which might have to be done is to disable cancellation while the
signal handler is executed. And even that might not be required.
If your code depends on cancellation in signal handlers, you better rewrite it.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Status|NEW |ASSIGNED
GCC build triplet|i686-redhat-linux-gnu |i686-redhat-linux-gnu
Priority|P1 |P2
http://sources.redhat.com/bugzilla/show_bug.cgi?id=415
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.