Wait until either:
- the
ptr
’s value changes fromexpect
. Futex.wake()
is called on theptr
.- A spurious wake occurs.
- The deadline expires; In which case
error.Timeout
is returned.
Wait until either:
ptr
’s value changes from expect
.Futex.wake()
is called on the ptr
.error.Timeout
is returned.