riot_sys

Function mutex_unlock_and_sleep

Source
pub unsafe extern "C" fn mutex_unlock_and_sleep(mutex: *mut mutex_t)
Expand description

@brief Unlocks the mutex and sends the current thread to sleep

@param[in,out] mutex Mutex object to unlock. @pre @p mutex is not NULL @pre Must be called in thread context.