[][src]Function sunrise_libuser::syscalls::wait_synchronization

pub fn wait_synchronization(
    handles: &[HandleRef],
    timeout_ns: Option<usize>
) -> Result<usize, KernelError>

Wait for an event on the given handles.

When zero handles are passed, this will wait forever until either timeout or cancellation occurs.

If a timeout of 0 is passed, this function is guaranteed not to reschedule.

Does not accept 0xFFFF8001 or 0xFFFF8000 meta-handles.

Object types

Result codes