Lines Matching refs:rwlock
394 impl<'rwlock, T> RwLockReadGuard<'rwlock, T> {
405 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak()
411 impl<'rwlock, T> RwLockUpgradableGuard<'rwlock, T> {
415 pub fn try_upgrade(mut self) -> Result<RwLockWriteGuard<'rwlock, T>, Self> { in try_upgrade() argument
442 pub fn upgrade(mut self) -> RwLockWriteGuard<'rwlock, T> { in upgrade() argument
456 pub fn downgrade(mut self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument
483 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak()
490 impl<'rwlock, T> RwLockWriteGuard<'rwlock, T> {
501 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak()
510 pub fn downgrade(mut self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument
530 pub fn downgrade_to_upgradeable(mut self) -> RwLockUpgradableGuard<'rwlock, T> { in downgrade_to_upgradeable() argument
551 impl<'rwlock, T> Deref for RwLockReadGuard<'rwlock, T> {
559 impl<'rwlock, T> Deref for RwLockUpgradableGuard<'rwlock, T> {
567 impl<'rwlock, T> Deref for RwLockWriteGuard<'rwlock, T> {
575 impl<'rwlock, T> DerefMut for RwLockWriteGuard<'rwlock, T> {
581 impl<'rwlock, T> Drop for RwLockReadGuard<'rwlock, T> {
589 impl<'rwlock, T> Drop for RwLockUpgradableGuard<'rwlock, T> {
601 impl<'rwlock, T> Drop for RwLockWriteGuard<'rwlock, T> {