Home
last modified time | relevance | path

Searched defs:rwlock (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/libs/
H A Drwlock.rs414 pub fn try_upgrade(mut self) -> Result<RwLockWriteGuard<'rwlock, T>, Self> { in try_upgrade()
441 pub fn upgrade(mut self) -> RwLockWriteGuard<'rwlock, T> { in upgrade()
455 pub fn downgrade(mut self) -> RwLockReadGuard<'rwlock, T> { in downgrade()
509 pub fn downgrade(mut self) -> RwLockReadGuard<'rwlock, T> { in downgrade()
529 pub fn downgrade_to_upgradeable(mut self) -> RwLockUpgradableGuard<'rwlock, T> { in downgrade_to_upgradeable()
H A Dmod.rs18 pub mod rwlock; module