Function ctru_sys::svcWaitSynchronizationN
source · pub unsafe extern "C" fn svcWaitSynchronizationN(
out: *mut s32,
handles: *const Handle,
handles_num: s32,
wait_all: bool,
nanoseconds: s64
) -> Result
Expand description
Waits for synchronization on multiple handles.
§Arguments
out
(direction out) - Pointer to output the index of the synchronized handle to.handles
- Handles to wait on.handles_num
- Number of handles.wait_all
- Whether to wait for synchronization on all handles.nanoseconds
- Maximum nanoseconds to wait for.