pub unsafe extern "C" fn osThreadDetach(
thread_id: osThreadId_t,
) -> osStatus_t
Expand description
Detach a thread (thread storage can be reclaimed when thread terminates). \param[in] thread_id thread ID obtained by \ref osThreadNew or \ref osThreadGetId. \return status code that indicates the execution status of the function.