(sigcancel_handler): Don't set EXITING_BIT here.
authorUlrich Drepper <drepper@redhat.com>
Fri, 4 Apr 2003 07:56:14 +0000 (07:56 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 4 Apr 2003 07:56:14 +0000 (07:56 +0000)
nptl/init.c

index 2c85d87..9d557cc 100644 (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;
        }