summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2012-03-21 22:03:19 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2012-03-21 22:03:19 +0000
commitd766fdfbcfc81e72aabb0f63e202c7ec190838c2 (patch)
treebbc7c21c818f16e10143b58e19744122563a8abd /lib/libpthread
parent722ab03e127b6f3ca4e2a5dca1bc3494f621fe8a (diff)
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.334
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