Function osMutexGetOwner

Source
pub unsafe extern "C" fn osMutexGetOwner(
    mutex_id: osMutexId_t,
) -> osThreadId_t
Expand description

Get Thread which owns a Mutex object. \param[in] mutex_id mutex ID obtained by \ref osMutexNew. \return thread ID of owner thread or NULL when mutex was not acquired.