Searched refs:lock_api (Results 1 – 25 of 31) sorted by relevance
12
/external/rust/crates/parking_lot/src/ |
D | raw_fair_mutex.rs | 9 use lock_api::RawMutexFair; 14 unsafe impl lock_api::RawMutex for RawFairMutex { 15 const INIT: Self = RawFairMutex(<RawMutex as lock_api::RawMutex>::INIT); 17 type GuardMarker = <RawMutex as lock_api::RawMutex>::GuardMarker; 40 unsafe impl lock_api::RawMutexFair for RawFairMutex { 52 unsafe impl lock_api::RawMutexTimed for RawFairMutex { 53 type Duration = <RawMutex as lock_api::RawMutexTimed>::Duration; 54 type Instant = <RawMutex as lock_api::RawMutexTimed>::Instant;
|
D | remutex.rs | 10 use lock_api::{self, GetThreadId}; 41 pub type ReentrantMutex<T> = lock_api::ReentrantMutex<RawMutex, RawThreadId, T>; 48 <RawMutex as lock_api::RawMutex>::INIT, in const_reentrant_mutex() 49 <RawThreadId as lock_api::GetThreadId>::INIT, in const_reentrant_mutex() 59 pub type ReentrantMutexGuard<'a, T> = lock_api::ReentrantMutexGuard<'a, RawMutex, RawThreadId, T>; 69 lock_api::MappedReentrantMutexGuard<'a, RawMutex, RawThreadId, T>;
|
D | lib.rs | 38 type GuardMarker = lock_api::GuardSend; 40 type GuardMarker = lock_api::GuardNoSend; 57 pub use ::lock_api;
|
D | fair_mutex.rs | 9 use lock_api; 81 pub type FairMutex<T> = lock_api::Mutex<RawFairMutex, T>; 87 FairMutex::const_new(<RawFairMutex as lock_api::RawMutex>::INIT, val) in const_fair_mutex() 95 pub type FairMutexGuard<'a, T> = lock_api::MutexGuard<'a, RawFairMutex, T>; 104 pub type MappedFairMutexGuard<'a, T> = lock_api::MappedMutexGuard<'a, RawFairMutex, T>;
|
D | mutex.rs | 9 use lock_api; 87 pub type Mutex<T> = lock_api::Mutex<RawMutex, T>; 93 Mutex::const_new(<RawMutex as lock_api::RawMutex>::INIT, val) in const_mutex() 101 pub type MutexGuard<'a, T> = lock_api::MutexGuard<'a, RawMutex, T>; 110 pub type MappedMutexGuard<'a, T> = lock_api::MappedMutexGuard<'a, RawMutex, T>;
|
D | rwlock.rs | 9 use lock_api; 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 | raw_rwlock.rs | 16 use lock_api::{RawRwLock as RawRwLock_, RawRwLockUpgrade}; 60 unsafe impl lock_api::RawRwLock for RawRwLock { 149 unsafe impl lock_api::RawRwLockFair for RawRwLock { 186 unsafe impl lock_api::RawRwLockDowngrade for RawRwLock { 200 unsafe impl lock_api::RawRwLockTimed for RawRwLock { 265 unsafe impl lock_api::RawRwLockRecursive for RawRwLock { 289 unsafe impl lock_api::RawRwLockRecursiveTimed for RawRwLock { 317 unsafe impl lock_api::RawRwLockUpgrade for RawRwLock { 392 unsafe impl lock_api::RawRwLockUpgradeFair for RawRwLock { 422 unsafe impl lock_api::RawRwLockUpgradeDowngrade for RawRwLock { [all …]
|
D | raw_mutex.rs | 14 use lock_api::RawMutex as RawMutex_; 58 unsafe impl lock_api::RawMutex for RawMutex { 119 unsafe impl lock_api::RawMutexFair for RawMutex { 141 unsafe impl lock_api::RawMutexTimed for RawMutex {
|
/external/rust/crates/spin/src/ |
D | lib.rs | 78 pub mod lock_api { module 80 pub type Mutex<T> = lock_api::Mutex<crate::Mutex<()>, T>; 83 pub type MutexGuard<'a, T> = lock_api::MutexGuard<'a, crate::Mutex<()>, T>; 86 pub type RwLock<T> = lock_api::RwLock<crate::RwLock<()>, T>; 89 pub type RwLockReadGuard<'a, T> = lock_api::RwLockReadGuard<'a, crate::RwLock<()>, T>; 92 pub type RwLockWriteGuard<'a, T> = lock_api::RwLockWriteGuard<'a, crate::RwLock<()>, T>; 96 lock_api::RwLockUpgradableReadGuard<'a, crate::RwLock<()>, T>;
|
D | mutex.rs | 293 unsafe impl lock_api::RawMutex for Mutex<()> { 294 type GuardMarker = lock_api::GuardSend;
|
D | rw_lock.rs | 724 unsafe impl lock_api::RawRwLock for RwLock<()> { 725 type GuardMarker = lock_api::GuardSend; 776 unsafe impl lock_api::RawRwLockUpgrade for RwLock<()> { 817 unsafe impl lock_api::RawRwLockDowngrade for RwLock<()> { 828 unsafe impl lock_api::RawRwLockUpgradeDowngrade for RwLock<()> {
|
/external/rust/crates/parking_lot/ |
D | CHANGELOG.md | 1 ## parking_lot 0.11.1, lock_api 0.4.2 (2020-11-18) 6 ## lock_api 0.4.1 (2020-07-06) 11 ## parking_lot 0.11.0, parking_lot_core 0.8.0, lock_api 0.4.0 (2020-06-23) 27 - Update minimum version of `lock_api`. 29 ## parking_lot 0.10.1, parking_lot_core 0.7.1, lock_api 0.3.4 (2020-04-10) 37 ## lock_api 0.3.3 (2020-01-04) 41 ## parking_lot 0.10.0, parking_lot_core 0.7.0, lock_api 0.3.2 (2019-11-25) 56 ## parking_lot 0.9.0, parking_lot_core 0.6.0, lock_api 0.3.1 (2019-07-14) 58 - Re-export lock_api (0.3.1) from parking_lot (#150) 63 - Fix race condition in lock_api::ReentrantMutex (da16c2c7) [all …]
|
D | Cargo.toml.orig | 15 lock_api = { path = "lock_api", version = "0.4.0" } 26 owning_ref = ["lock_api/owning_ref"] 27 nightly = ["parking_lot_core/nightly", "lock_api/nightly"] 29 serde = ["lock_api/serde"]
|
D | Cargo.toml | 27 [dependencies.lock_api] 41 nightly = ["parking_lot_core/nightly", "lock_api/nightly"] 42 owning_ref = ["lock_api/owning_ref"] 44 serde = ["lock_api/serde"]
|
/external/rust/crates/lock_api/ |
D | METADATA | 1 name: "lock_api" 6 value: "https://crates.io/crates/lock_api" 10 value: "https://static.crates.io/crates/lock_api/lock_api-0.4.2.crate"
|
D | Android.bp | 42 crate_name: "lock_api", 52 crate_name: "lock_api",
|
D | Cargo.toml.orig | 2 name = "lock_api"
|
D | Cargo.toml | 15 name = "lock_api"
|
/external/rust/crates/spin/ |
D | README.md | 23 - [`lock_api`](https://crates.io/crates/lock_api) compatibility 73 - `lock_api` enabled support for [`lock_api`](https://crates.io/crates/lock_api)
|
D | Cargo.toml.orig | 15 lock_api_crate = { package = "lock_api", version = "0.4", optional = true } 19 lock_api = ["lock_api_crate"]
|
D | Cargo.toml | 24 package = "lock_api" 28 lock_api = ["lock_api_crate"]
|
D | CHANGELOG.md | 49 - `lock_api` compatibility
|
/external/rust/crates/spin/src/mutex/ |
D | spin.rs | 294 unsafe impl lock_api::RawMutex for SpinMutex<()> { 295 type GuardMarker = lock_api::GuardSend;
|
/external/rust/crates/tokio-macros/ |
D | Android.bp | 56 // lock_api-0.4.2
|
/external/rust/crates/tokio-stream/ |
D | Android.bp | 47 // lock_api-0.4.2
|
12