diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-04-04 07:59:55 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-04-04 07:59:55 +0000 |
commit | 86246935dafa15d762e202d39bca55b113c9ee56 (patch) | |
tree | 2b7e017e5ac9cc03cc99ca0d7b3def32590230d4 /nptl/libc-cancellation.c | |
parent | d9eb687be2a0c684ccc0b67d15f139d94d56b873 (diff) | |
download | glibc-86246935dafa15d762e202d39bca55b113c9ee56.tar.gz glibc-86246935dafa15d762e202d39bca55b113c9ee56.tar.xz glibc-86246935dafa15d762e202d39bca55b113c9ee56.zip |
Update.
2003-04-03 Ulrich Drepper <drepper@redhat.com> * 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.
Diffstat (limited to 'nptl/libc-cancellation.c')
-rw-r--r-- | nptl/libc-cancellation.c | 3 |
1 files changed, 0 insertions, 3 deletions
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 */ |