Function lrs::syscall::futex_wait

Waits on a futex.

Syntax

fn futex_wait(addr: &mut i32, val: i32, timeout: Option<&timespec>) -> i32

Arguments

NameDescription
addr

The address of the futex.

val

The expected value of the futex.

timeout

A timeout of the wait operation.

Return value

Returns success or an error value.

See also