Searched refs:RawRwLock (Results 1 – 6 of 6) sorted by relevance
/external/rust/crates/lock_api/src/ |
D | rwlock.rs | 31 pub unsafe trait RawRwLock { trait 88 pub unsafe trait RawRwLockFair: RawRwLock { 134 pub unsafe trait RawRwLockDowngrade: RawRwLock { 148 pub unsafe trait RawRwLockTimed: RawRwLock { 175 pub unsafe trait RawRwLockRecursive: RawRwLock { 200 pub unsafe trait RawRwLockUpgrade: RawRwLock { 320 R: RawRwLock, 334 R: RawRwLock, 345 unsafe impl<R: RawRwLock + Send, T: ?Sized + Send> Send for RwLock<R, T> {} 346 unsafe impl<R: RawRwLock + Sync, T: ?Sized + Send + Sync> Sync for RwLock<R, T> {} [all …]
|
/external/rust/crates/parking_lot/src/ |
D | raw_rwlock.rs | 16 use lock_api::{RawRwLock as RawRwLock_, RawRwLockUpgrade}; 56 pub struct RawRwLock { struct 60 unsafe impl lock_api::RawRwLock for RawRwLock { implementation 61 const INIT: RawRwLock = RawRwLock { 149 unsafe impl lock_api::RawRwLockFair for RawRwLock { implementation 186 unsafe impl lock_api::RawRwLockDowngrade for RawRwLock { implementation 200 unsafe impl lock_api::RawRwLockTimed for RawRwLock { implementation 265 unsafe impl lock_api::RawRwLockRecursive for RawRwLock { implementation 289 unsafe impl lock_api::RawRwLockRecursiveTimed for RawRwLock { implementation 317 unsafe impl lock_api::RawRwLockUpgrade for RawRwLock { implementation [all …]
|
D | rwlock.rs | 8 use crate::raw_rwlock::RawRwLock; 89 pub type RwLock<T> = lock_api::RwLock<RawRwLock, T>; 95 RwLock::const_new(<RawRwLock as lock_api::RawRwLock>::INIT, val) in const_rwlock() 100 pub type RwLockReadGuard<'a, T> = lock_api::RwLockReadGuard<'a, RawRwLock, T>; 104 pub type RwLockWriteGuard<'a, T> = lock_api::RwLockWriteGuard<'a, RawRwLock, T>; 113 pub type MappedRwLockReadGuard<'a, T> = lock_api::MappedRwLockReadGuard<'a, RawRwLock, T>; 122 pub type MappedRwLockWriteGuard<'a, T> = lock_api::MappedRwLockWriteGuard<'a, RawRwLock, T>; 126 pub type RwLockUpgradableReadGuard<'a, T> = lock_api::RwLockUpgradableReadGuard<'a, RawRwLock, T>;
|
D | lib.rs | 48 pub use self::raw_rwlock::RawRwLock;
|
/external/rust/crates/parking_lot/ |
D | CHANGELOG.md | 103 - Export `RawMutex`, `RawRwLock` and `RawThreadId`. 123 mutex type which implements the `RawMutex` or `RawRwLock` trait. The API
|
/external/rust/crates/spin/src/ |
D | rw_lock.rs | 724 unsafe impl lock_api::RawRwLock for RwLock<()> {
|