Home
last modified time | relevance | path

Searched refs:RawRwLock (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/lock_api/src/
Drwlock.rs31 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/
Draw_rwlock.rs16 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 …]
Drwlock.rs8 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>;
Dlib.rs48 pub use self::raw_rwlock::RawRwLock;
/external/rust/crates/parking_lot/
DCHANGELOG.md103 - Export `RawMutex`, `RawRwLock` and `RawThreadId`.
123 mutex type which implements the `RawMutex` or `RawRwLock` trait. The API
/external/rust/crates/spin/src/
Drw_lock.rs724 unsafe impl lock_api::RawRwLock for RwLock<()> {