From d9eb687be2a0c684ccc0b67d15f139d94d56b873 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 4 Apr 2003 07:56:14 +0000 Subject: [PATCH] (sigcancel_handler): Don't set EXITING_BIT here. --- nptl/init.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/nptl/init.c b/nptl/init.c index 2c85d87..9d557cc 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; } -- 2.7.4