summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-04-12 06:52:43 +0000
committerkib <kib@FreeBSD.org>2015-04-12 06:52:43 +0000
commitd47c2f0941d1cd829a9a070b4b74baf884b22505 (patch)
treeadd53e0078c23fa9db08e08b8b25d45859411ba7 /share
parent39372044850f47dd4bea491cc717b227b8214a46 (diff)
downloadFreeBSD-src-d47c2f0941d1cd829a9a070b4b74baf884b22505.zip
FreeBSD-src-d47c2f0941d1cd829a9a070b4b74baf884b22505.tar.gz
MFC r280818:
Make kevent(2) a cancellation point.
Diffstat (limited to 'share')
-rw-r--r--share/man/man3/pthread_testcancel.311
1 files changed, 10 insertions, 1 deletions
diff --git a/share/man/man3/pthread_testcancel.3 b/share/man/man3/pthread_testcancel.3
index 007c768..24f5230 100644
--- a/share/man/man3/pthread_testcancel.3
+++ b/share/man/man3/pthread_testcancel.3
@@ -1,5 +1,5 @@
.\" $FreeBSD$
-.Dd June 11, 2013
+.Dd March 29, 2015
.Dt PTHREAD_TESTCANCEL 3
.Os
.Sh NAME
@@ -107,6 +107,7 @@ functions:
.Fn close ,
.Fn creat ,
.Fn fsync ,
+.Fn kevent ,
.Fn mq_receive ,
.Fn mq_send ,
.Fn mq_timedreceive ,
@@ -147,12 +148,20 @@ functions:
.Fn waitpid ,
.Fn write ,
.Fn writev .
+.Pp
The
.Fn fcntl
function is a cancellation point if
.Fa cmd
is
.Dv F_SETLKW .
+.Pp
+The
+.Fn kevent
+function is a cancellation point if it is potentially blocking,
+i.e. when the
+.Fa nevents
+argument is non-zero.
.Sh RETURN VALUES
If successful, the
.Fn pthread_setcancelstate
OpenPOWER on IntegriCloud