diff options
author | 2012-03-21 22:03:18 +0000 | |
---|---|---|
committer | 2012-03-21 22:03:18 +0000 | |
commit | dfaea0e1eb4ec8f1a8bc4aea70bbc57050004bd1 (patch) | |
tree | bd367515861f8ab38fde910675115e5b5827562d /lib/libpthread | |
parent | Some terminals respond to secondary DA with primary (they ignore the (diff) | |
download | wireguard-openbsd-dfaea0e1eb4ec8f1a8bc4aea70bbc57050004bd1.tar.xz wireguard-openbsd-dfaea0e1eb4ec8f1a8bc4aea70bbc57050004bd1.zip |
Update list of cancellation points to reflect what was in 5.1's uthreads
Pointed out by nicolas.george at normalesup.org. ok jmc@
Diffstat (limited to 'lib/libpthread')
-rw-r--r-- | lib/libpthread/man/pthread_testcancel.3 | 34 |
1 files changed, 28 insertions, 6 deletions
diff --git a/lib/libpthread/man/pthread_testcancel.3 b/lib/libpthread/man/pthread_testcancel.3 index 14cdeb3ee1c..82b1825d166 100644 --- a/lib/libpthread/man/pthread_testcancel.3 +++ b/lib/libpthread/man/pthread_testcancel.3 @@ -1,9 +1,9 @@ -.\" $OpenBSD: pthread_testcancel.3,v 1.11 2007/05/31 19:19:37 jmc Exp $ +.\" $OpenBSD: pthread_testcancel.3,v 1.12 2012/03/21 22:03:18 guenther Exp $ .\" .\" .\" David Leonard, 1999. Public Domain. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: March 21 2012 $ .Dt PTHREAD_TESTCANCEL 3 .Os .Sh NAME @@ -99,29 +99,51 @@ type will be in effect. .El .Ss Cancellation Points Cancellation points will occur when a thread is executing the following -functions: +base interfaces: +.Fn accept , .Fn close , +.Fn connect , .Fn creat , .Fn fcntl , .Fn fsync , +.Fn lockf , .Fn msync , .Fn nanosleep , .Fn open , +.Fn openat , .Fn pause , +.Fn poll , +.Fn pread , .Fn pthread_cond_timedwait , .Fn pthread_cond_wait , .Fn pthread_join , .Fn pthread_testcancel , .Fn read , -.Fn sigwaitinfo , +.Fn readv , +.Fn recv , +.Fn recvfrom , +.Fn recvmsg , +.Fn select , +.Fn sem_wait , +.Fn send , +.Fn sendmsg , +.Fn sendto , .Fn sigsuspend , .Fn sigwait , .Fn sleep , .Fn system , -.Fn tcdrain , .Fn wait , .Fn waitpid , -.Fn write . +.Fn write , +.Fn writev . +.Pp +In addition, +cancellation points will occur when a thread is executing the following +extension interfaces: +.Fn closefrom , +.Fn preadv , +.Fn pwritev , +.Fn wait4 . .Sh RETURN VALUES If successful, the .Fn pthread_setcancelstate |