1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

(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. */ /* Make sure asynchronous cancellation is still enabled. */
if ((newval & CANCELTYPE_BITMASK) != 0) if ((newval & CANCELTYPE_BITMASK) != 0)
{ /* Run the registered destructors and terminate the thread. */
/* The thread is exiting now. */ __do_cancel ();
atomic_bit_set (&self->cancelhandling, EXITING_BIT);
/* Run the registered destructors and terminate the
thread. */
__do_cancel ();
}
break; break;
} }