Function osThreadGetId

Source
pub unsafe extern "C" fn osThreadGetId() -> osThreadId_t
Expand description

Return the thread ID of the current running thread. \return thread ID for reference by other functions or NULL in case of error.