arceos_posix_api

Function sys_pthread_join

Source
pub unsafe fn sys_pthread_join(
    thread: pthread_t,
    retval: *mut *mut c_void,
) -> c_int
Available on crate feature multitask only.
Expand description

Waits for the given thread to exit, and stores the return value in retval.