Home
last modified time | relevance | path

Searched refs:rwlock (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.5/kernel/src/libs/
Drwlock.rs260 impl<'rwlock, T> RwLockReadGuard<'rwlock, T> {
264 pub fn leak(this: Self) -> &'rwlock T { in leak()
270 impl<'rwlock, T> RwLockUpgradableGuard<'rwlock, T> {
274 pub fn try_upgrade(self) -> Result<RwLockWriteGuard<'rwlock, T>, Self> { in try_upgrade() argument
300 pub fn upgrade(mut self) -> RwLockWriteGuard<'rwlock, T> { in upgrade() argument
314 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument
333 pub fn leak(this: Self) -> &'rwlock T { in leak()
340 impl<'rwlock, T> RwLockWriteGuard<'rwlock, T> {
344 pub fn leak(this: Self) -> &'rwlock T { in leak()
353 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument
[all …]
Dmod.rs13 pub mod rwlock; module
/DragonOS-0.1.5/docs/kernel/locking/
Dindex.rst14 rwlock
Drwlock.md111 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T>
115 pub fn downgrade_to_upgradeable(self) -> RwLockUpgradableGuard<'rwlock, T>
120 pub fn upgrade(mut self) -> RwLockWriteGuard<'rwlock, T>
124 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T>