(sigcancel_handler): Don't set EXITING_BIT here.

This commit is contained in:
Ulrich Drepper 2003-04-04 07:56:14 +00:00
parent 26b54a6bca
commit d9eb687be2

View File

@ -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;
}