pub unsafe extern "C" fn k_mutex_init(mutex: *mut k_mutex) -> i32
Expand description
@brief Initialize a mutex.
This routine initializes a mutex object, prior to its first use.
Upon completion, the mutex is available and does not have an owner.
@param mutex Address of the mutex.
@retval 0 Mutex object created