freebsd-nq/sys/compat/cloudabi
Ed Schouten 8e04fe5af3 Allow timed waits with relative timeouts on locks and condvars.
Even though pthreads doesn't support this, there are various alternative
APIs that use this. For example, uv_cond_timedwait() accepts a relative
timeout. So does Rust's std::sync::Condvar::wait_timeout().

Though I personally think that relative timeouts are bad (due to
imprecision for repeated operations), it does seem that people want
this. Extend the existing futex functions to keep track of whether an
absolute timeout is used in a boolean flag.

MFC after:	1 month
2018-01-04 21:57:37 +00:00
..
cloudabi_clock.c Include <sys/systm.h> to obtain the memcpy() prototype. 2017-03-24 07:09:33 +00:00
cloudabi_errno.c
cloudabi_fd.c Import the latest CloudABI definitions, version 0.16. 2017-10-18 19:22:53 +00:00
cloudabi_file.c Merge pipes and socket pairs. 2017-09-05 07:46:45 +00:00
cloudabi_futex.c Allow timed waits with relative timeouts on locks and condvars. 2018-01-04 21:57:37 +00:00
cloudabi_mem.c Upgrade to the latest sources generated from the CloudABI specification. 2017-07-26 06:57:15 +00:00
cloudabi_proc.c
cloudabi_proto.h
cloudabi_random.c
cloudabi_sock.c Complete the CloudABI networking refactoring. 2017-08-30 07:30:06 +00:00
cloudabi_thread.c
cloudabi_util.h Allow timed waits with relative timeouts on locks and condvars. 2018-01-04 21:57:37 +00:00
cloudabi_vdso.c
cloudabi_vdso.lds