[][src]Trait lock_api::RawRwLockUpgradeDowngrade

pub unsafe trait RawRwLockUpgradeDowngrade: RawRwLockUpgrade + RawRwLockDowngrade {
    fn downgrade_upgradable(&self);
fn downgrade_to_upgradable(&self); }

Additional methods for RwLocks which support upgradable locks and lock downgrading.

Required methods

fn downgrade_upgradable(&self)

Downgrades an upgradable lock to a shared lock.

fn downgrade_to_upgradable(&self)

Downgrades an exclusive lock to an upgradable lock.

Loading content...

Implementors

Loading content...