Skip to main content

xila_mutex_lock

Function xila_mutex_lock 

Source
pub unsafe extern "C" fn xila_mutex_lock(
    mutex: *mut Mutex,
    flags: u32,
) -> Status
Expand description

Acquire a mutex, suspending on contention unless XILA_MUTEX_TRY is set.

ยงSafety

Mutex must remain live at the same address throughout the call.