diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-02-14 18:33:54 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-02-14 18:33:54 +0000 |
commit | e320ef46a7283517aeba1decc20ffb38ed131281 (patch) | |
tree | be9af48c1823694fde8d21ef1de61918b8205126 /nptl/tst-cancel4.c | |
parent | 700bf7af9f98174f33ac177332bcbcd644055474 (diff) | |
download | glibc-e320ef46a7283517aeba1decc20ffb38ed131281.tar.gz |
Update.
* descr.h: Define CANCELING_BIT and CANCELING_BITMASK. Introduce
after CANCELTYPE_BIT, move the other bits up. Update CANCEL_RESTMASK.
* init.c (sigcancel_handler): Also set CANCELING_BITMASK bit in newval.
* pthread_cancel.c (pthread_cancel): Likewise. Also set CANCELING_BIT
if asynchronous canceling is enabled.
* pthread_join.c (pthread_join): When recognizing circular joins,
take into account the other thread might be already canceled.
* Makefile (tests): Add tst-join5.
* tst-join5.c: New file.
Diffstat (limited to 'nptl/tst-cancel4.c')
-rw-r--r-- | nptl/tst-cancel4.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nptl/tst-cancel4.c b/nptl/tst-cancel4.c index 7ab7bd60da..eb5eb9e15c 100644 --- a/nptl/tst-cancel4.c +++ b/nptl/tst-cancel4.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. @@ -42,15 +42,15 @@ mq_send() mq_timedreceive() mq_timedsend() msgrcv() msgsnd() msync() open() pause() - pread() pthread_cond_timedwait() - pthread_cond_wait() pthread_join() pthread_testcancel() + pread() + pthread_join() pthread_testcancel() putmsg() putpmsg() pwrite() recv() recvfrom() recvmsg() sem_timedwait() sem_wait() send() sendmsg() sendto() sigpause() sigsuspend() sigtimedwait() sigwait() - sigwaitinfo() system() + sigwaitinfo() tcdrain() Since STREAMS are not supported in the standard Linux kernel there |