[][src]Function cmsis_rtos2::cmsis_os2::osThreadDetach

pub unsafe extern "C" fn osThreadDetach(thread_id: osThreadId_t) -> osStatus_t

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.