Function xila_destroy_rwlock

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

Destroy a rwlock.

ยงSafety

The caller must ensure:

  • rwlock points to a valid, initialized Raw_rwlock_type allocated with Box
  • The rwlock is not currently locked
  • No other threads are waiting on the rwlock