Skip to main content

xila_thread_join

Function xila_thread_join 

Source
pub unsafe extern "C" fn xila_thread_join(
    thread: usize,
    result: *mut *mut c_void,
) -> Status
Expand description

Wait for one worker, then reap its result. Joining oneself fails with Deadlock.

ยงSafety

A non-null result must be writable after the wait.