From: Ulrich Drepper Date: Fri, 4 Apr 2003 07:56:14 +0000 (+0000) Subject: (sigcancel_handler): Don't set EXITING_BIT here. X-Git-Tag: cvs/glibc-2_3_3~959 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9eb687be2a0c684ccc0b67d15f139d94d56b873;p=thirdparty%2Fglibc.git (sigcancel_handler): Don't set EXITING_BIT here. --- diff --git a/nptl/init.c b/nptl/init.c index 2c85d87b999..9d557cc938c 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; }