From 86246935dafa15d762e202d39bca55b113c9ee56 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 4 Apr 2003 07:59:55 +0000 Subject: Update. 2003-04-03 Ulrich Drepper * init.c (sigcancel_handler): Don't set EXITING_BIT here. * libc-cancellation.c (__libc_enable_asynccancel): Likewise. * pthreadP.h (__do_cancel): Set EXITING_BIT here. * Makefile (tests): Add tst-cancel11. * tst-cancel11.c: New file. --- nptl/libc-cancellation.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'nptl/libc-cancellation.c') diff --git a/nptl/libc-cancellation.c b/nptl/libc-cancellation.c index 0d584fbb33..344a2181c8 100644 --- a/nptl/libc-cancellation.c +++ b/nptl/libc-cancellation.c @@ -54,9 +54,6 @@ __libc_enable_asynccancel (void) THREAD_SETMEM (self, result, PTHREAD_CANCELED); - /* The thread is exiting now. */ - atomic_bit_set (&self->cancelhandling, EXITING_BIT); - __do_cancel (); /* NOTREACHED */ -- cgit 1.4.1