diff options
author | vangyzen <vangyzen@FreeBSD.org> | 2017-03-14 17:52:43 +0000 |
---|---|---|
committer | vangyzen <vangyzen@FreeBSD.org> | 2017-03-14 17:52:43 +0000 |
commit | 72aa1fdeceef03818eb7b197915d42ca76873919 (patch) | |
tree | d9d7b7537c9253168899b020c5c974ba352aa542 /share/man/man3 | |
parent | 32ef1c0934519221b6371ba801fb798f33c6c9f8 (diff) | |
download | FreeBSD-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.3 | 7 |
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 |