summaryrefslogtreecommitdiffstats
path: root/share/man/man3
diff options
context:
space:
mode:
authorvangyzen <vangyzen@FreeBSD.org>2017-03-14 17:52:43 +0000
committervangyzen <vangyzen@FreeBSD.org>2017-03-14 17:52:43 +0000
commit72aa1fdeceef03818eb7b197915d42ca76873919 (patch)
treed9d7b7537c9253168899b020c5c974ba352aa542 /share/man/man3
parent32ef1c0934519221b6371ba801fb798f33c6c9f8 (diff)
downloadFreeBSD-src-72aa1fdeceef03818eb7b197915d42ca76873919.zip
FreeBSD-src-72aa1fdeceef03818eb7b197915d42ca76873919.tar.gz
MFC r314179 r314206 r314424
Add sem_clockwait_np() This function allows the caller to specify the reference clock and choose between absolute and relative mode. In relative mode, the remaining time can be returned. The API is similar to clock_nanosleep(3). Thanks to Ed Schouten for that suggestion. While I'm here, reduce the sleep time in the semaphore "child" test to greatly reduce its runtime. Also add a reasonable timeout. Relnotes: yes Sponsored by: Dell EMC
Diffstat (limited to 'share/man/man3')
-rw-r--r--share/man/man3/pthread_testcancel.37
1 files changed, 4 insertions, 3 deletions
diff --git a/share/man/man3/pthread_testcancel.3 b/share/man/man3/pthread_testcancel.3
index 1dfc964..8d0204d 100644
--- a/share/man/man3/pthread_testcancel.3
+++ b/share/man/man3/pthread_testcancel.3
@@ -1,5 +1,5 @@
.\" $FreeBSD$
-.Dd August 16, 2016
+.Dd February 17, 2017
.Dt PTHREAD_TESTCANCEL 3
.Os
.Sh NAME
@@ -120,9 +120,9 @@ is
The
.Fn kevent
function is a cancellation point if it is potentially blocking,
-i.e. when the
+such as when the
.Fa nevents
-argument is non-zero.
+argument is non-zero.
.It Fn mq_receive
.It Fn mq_send
.It Fn mq_timedreceive
@@ -146,6 +146,7 @@ argument is non-zero.
.It Fn recvmsg
.It Fn select
.It Fn sem_timedwait
+.It Fn sem_clockwait_np
.It Fn sem_wait
.It Fn send
.It Fn sendmsg
OpenPOWER on IntegriCloud