From d9eb687be2a0c684ccc0b67d15f139d94d56b873 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 4 Apr 2003 07:56:14 +0000 Subject: (sigcancel_handler): Don't set EXITING_BIT here. --- nptl/init.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'nptl') 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; } -- cgit 1.4.1