[][src]Function mynewt::kernel::os::os_mutex_release

pub unsafe extern "C" fn os_mutex_release(mu: *mut os_mutex) -> os_error_t

Release a mutex.

Return: os_error_t OS_INVALID_PARM Mutex passed in was NULL. OS_BAD_MUTEX Mutex was not granted to current task (not owner). OS_OK No error