freebsd-dev/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 Replace the CloudABI system call table by a machine generated version. 2016-03-24 21:47:15 +00:00
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 Catch up with changes to structure member names. 2017-01-17 22:05:52 +00:00
cloudabi_proto.h Replace the CloudABI system call table by a machine generated version. 2016-03-24 21:47:15 +00:00
cloudabi_random.c Catch up with changes to structure member names. 2017-01-17 22:05:52 +00:00
cloudabi_sock.c Complete the CloudABI networking refactoring. 2017-08-30 07:30:06 +00:00
cloudabi_thread.c Import the new automatically generated system call table for CloudABI. 2016-08-19 17:49:35 +00:00
cloudabi_util.h Allow timed waits with relative timeouts on locks and condvars. 2018-01-04 21:57:37 +00:00
cloudabi_vdso.c Provide the CloudABI vDSO to its executables. 2016-08-10 21:02:41 +00:00
cloudabi_vdso.lds Move the linker script from cloudabi64/ to cloudabi/. 2016-08-21 15:14:06 +00:00