[][src]Function linux::syscall::futex_wait

pub fn futex_wait(
    addr: &AtomicInt,
    val: c_int,
    timeout: Option<&timespec>
) -> c_int

Waits on a futex.

[argument, addr] The address of the futex.

[argument, val] The expected value of the futex.

[argument, timeout] A timeout of the wait operation.

[return_value] Returns success or an error value.

= See also

  • link:man:futex(2) and FUTEX_WAIT therein