xila_destroy_mutex

Function xila_destroy_mutex 

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

Destroy a mutex.

ยงSafety

The caller must ensure:

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