Function xila_unlock_rwlock

Source
#[no_mangle]
pub unsafe extern "C" fn xila_unlock_rwlock(
    rwlock: *mut RawRwLock,
) -> bool
Expand description

Unlock a rwlock.

ยงSafety

The caller must ensure:

  • rwlock points to a valid, initialized Raw_rwlock_type
  • The rwlock remains valid for the duration of the call
  • The current task owns the lock (either read or write)