#[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, initializedRaw_mutex_type
- The mutex remains valid for the duration of the call