Searched hist:328127 (Results 1 - 4 of 4) sorted by relevance

/freebsd-11-stable/sys/compat/cloudabi/
H A Dcloudabi_futex.cdiff 328127 Thu Jan 18 13:52:29 MST 2018 ed MFC r327560:

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.
H A Dcloudabi_util.hdiff 328127 Thu Jan 18 13:52:29 MST 2018 ed MFC r327560:

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.
/freebsd-11-stable/sys/compat/cloudabi32/
H A Dcloudabi32_poll.cdiff 328127 Thu Jan 18 13:52:29 MST 2018 ed MFC r327560:

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.
/freebsd-11-stable/sys/compat/cloudabi64/
H A Dcloudabi64_poll.cdiff 328127 Thu Jan 18 13:52:29 MST 2018 ed MFC r327560:

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.

Completed in 131 milliseconds