summaryrefslogtreecommitdiff
path: root/nptl/init.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-04 07:56:14 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-04 07:56:14 +0000
commitd9eb687be2a0c684ccc0b67d15f139d94d56b873 (patch)
tree18d90d4b4cb4e437a1e9fd2b16390951e54c4300 /nptl/init.c
parent26b54a6bcabe1c2de97ff7212e2f51d9c193deaf (diff)
(sigcancel_handler): Don't set EXITING_BIT here.
Diffstat (limited to 'nptl/init.c')
-rw-r--r--nptl/init.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/nptl/init.c b/nptl/init.c
index 2c85d87b99..9d557cc938 100644
--- a/nptl/init.c
+++ b/nptl/init.c
@@ -155,14 +155,8 @@ sigcancel_handler (int sig __attribute ((unused)))
/* Make sure asynchronous cancellation is still enabled. */
if ((newval & CANCELTYPE_BITMASK) != 0)
- {
- /* The thread is exiting now. */
- atomic_bit_set (&self->cancelhandling, EXITING_BIT);
-
- /* Run the registered destructors and terminate the
- thread. */
- __do_cancel ();
- }
+ /* Run the registered destructors and terminate the thread. */
+ __do_cancel ();
break;
}