[][src]Function cmsis_rtos2::cmsis_os2::osThreadGetState

pub unsafe extern "C" fn osThreadGetState(
    thread_id: osThreadId_t
) -> osThreadState_t

Get current thread state of a thread. \param[in] thread_id thread ID obtained by \ref osThreadNew or \ref osThreadGetId. \return current thread state of the specified thread.