Function xila_lock_mutex

Source
#[no_mangle]
pub unsafe extern "C" fn xila_lock_mutex(mutex: *mut RawMutex) -> bool
Expand description

Lock a mutex (blocking).

ยงSafety

The caller must ensure:

  • mutex points to a valid, initialized Raw_mutex_type
  • The mutex remains valid for the duration of the call