diff options
Diffstat (limited to 'nptl/init.c')
-rw-r--r-- | nptl/init.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/nptl/init.c b/nptl/init.c index 2c85d87b99..9d557cc938 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; } |