Skip to main content

switch_thread_exit

Function switch_thread_exit 

Source
pub unsafe extern "C" fn switch_thread_exit(
    thd: *mut switch_thread_t,
    retval: switch_status_t,
) -> switch_status_t
Expand description

stop the current thread @param thd The thread to stop @param retval The return value to pass back to any thread that cares