mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
(sigcancel_handler): Don't set EXITING_BIT here.
This commit is contained in:
parent
26b54a6bca
commit
d9eb687be2
10
nptl/init.c
10
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user