P99
|
◆ p99_futex_exchange()
Unconditionally and atomically set the futex p00_fut to value p00_desired. After effecting the operation atomically, some waiters on this p99_futex will be woken up if the new value of the futex is in the range that is specified by the arguments p00_cstart and p00_clen. See P99_FUTEX_COMPARE_EXCHANGE for more details on the rules for the p00_wmin and p00_wmax counts. Also signals eventual waiters if the futex falls within the given range.
Referenced by p99_cm::p99_cm_trylock(). |