Waits on a futex.
fn futex_wait(addr: &mut i32, val: i32, timeout: Option<×pec>) -> i32
| Name | Description |
|---|---|
| addr | The address of the futex. |
| val | The expected value of the futex. |
| timeout | A timeout of the wait operation. |
Returns success or an error value.
futex(2) and FUTEX_WAIT therein