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

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

Create a mutex and initialize it.

Return: os_error_t OS_INVALID_PARM Mutex passed in was NULL. OS_OK no error.