Function ctru_sys::threadJoin
source · pub unsafe extern "C" fn threadJoin(
thread: Thread,
timeout_ns: u64_
) -> Result
Expand description
Waits for a libctru thread to finish (or returns immediately if it is already finished).
§Arguments
thread
- libctru thread handletimeout_ns
- Timeout in nanoseconds. Pass U64_MAX if a timeout isn’t desired