Trait lock_api::RawRwLockDowngrade
source · pub unsafe trait RawRwLockDowngrade: RawRwLock {
// Required method
unsafe fn downgrade(&self);
}
Expand description
Additional methods for RwLocks which support atomically downgrading an exclusive lock to a shared lock.