freebsd-dev/lib/libc/include
Eric van Gyzen b215ceaaec 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.

Reviewed by:	ed (userland)
MFC after:	2 weeks
Relnotes:	yes
Sponsored by:	Dell EMC
Differential Revision:	https://reviews.freebsd.org/D9656
2017-02-23 19:36:38 +00:00
..
isc
block_abi.h
compat.h libc: spelling fixes. 2016-04-30 01:24:24 +00:00
errlst.h Revert r274772: it is not valid on MIPS 2014-11-25 03:50:31 +00:00
fpmath.h
libc_private.h Export __cxa_thread_atexit_impl as an alias for __cxa_thread_atexit. 2017-01-07 16:05:19 +00:00
namespace.h Add sem_clockwait_np() 2017-02-23 19:36:38 +00:00
nscache.h
nscachedcli.h
nss_tls.h
port_after.h
port_before.h
reentrant.h libc: spelling fixes. 2016-04-30 01:24:24 +00:00
resolv_mt.h
spinlock.h
un-namespace.h Add sem_clockwait_np() 2017-02-23 19:36:38 +00:00