/external/crosvm/cros_async/src/sync/ |
D | cv.rs | 56 pub struct Condvar { struct 62 impl Condvar { argument 64 pub fn new() -> Condvar { in new() 65 Condvar { in new() 120 self as *const Condvar as usize, in wait() constant 121 WaitingFor::Condvar, in wait() 144 self as *const Condvar as usize, in wait_read() constant 145 WaitingFor::Condvar, in wait_read() 332 let old_waiter = if waiter.is_linked() && waiting_for == WaitingFor::Condvar { in cancel_waiter() 370 unsafe impl Send for Condvar {} implementation [all …]
|
/external/libchromeos-rs/src/sync/ |
D | cv.rs | 55 pub struct Condvar { struct 61 impl Condvar { impl 63 pub fn new() -> Condvar { in new() 64 Condvar { in new() 119 self as *const Condvar as usize, in wait() constant 120 WaitingFor::Condvar, in wait() 143 self as *const Condvar as usize, in wait_read() constant 144 WaitingFor::Condvar, in wait_read() 353 let old_waiter = if waiter.is_linked() && waiting_for == WaitingFor::Condvar { in cancel_waiter() 403 unsafe impl Send for Condvar {} implementation [all …]
|
/external/crosvm/sync/src/ |
D | condvar.rs | 6 use std::sync::{Condvar as StdCondvar, MutexGuard, WaitTimeoutResult}; 11 pub struct Condvar { struct 15 impl Condvar { implementation 17 pub fn new() -> Condvar { in new() 18 Condvar { in new() 55 impl Debug for Condvar { implementation
|
D | lib.rs | 27 pub use crate::condvar::Condvar;
|
/external/rust/crates/parking_lot/src/ |
D | condvar.rs | 90 pub struct Condvar { struct 94 impl Condvar { implementation 98 pub const fn new() -> Condvar { in new() 99 Condvar { in new() 401 impl Default for Condvar { implementation 403 fn default() -> Condvar { in default() 404 Condvar::new() in default() 408 impl fmt::Debug for Condvar { implementation 416 use crate::{Condvar, Mutex, MutexGuard}; 425 let c = Condvar::new(); in smoke() [all …]
|
D | mutex.rs | 114 use crate::{Condvar, Mutex}; 123 struct Packet<T>(Arc<(Mutex<T>, Condvar)>); 213 let packet = Packet(Arc::new((Mutex::new(false), Condvar::new()))); in test_mutex_arc_condvar()
|
D | lib.rs | 42 pub use self::condvar::{Condvar, WaitTimeoutResult};
|
/external/rust/crates/tokio/src/loom/std/ |
D | parking_lot.rs | 21 pub(crate) struct Condvar(parking_lot::Condvar); struct 69 impl Condvar { implementation 71 pub(crate) fn new() -> Condvar { in new() 72 Condvar(parking_lot::Condvar::new()) in new()
|
D | mod.rs | 59 Condvar, Mutex, MutexGuard, RwLock, RwLockReadGuard, WaitTimeoutResult, 64 pub(crate) use std::sync::{Condvar, MutexGuard, RwLock, RwLockReadGuard, WaitTimeoutResult};
|
/external/adhd/sound_card_init/dsm/src/ |
D | zero_player.rs | 6 use std::sync::{Arc, Condvar, Mutex}; 99 ready: Arc<(Mutex<bool>, Condvar)>, 114 let ready = Arc::new((Mutex::new(false), Condvar::new())); in new() 146 ready: Arc<(Mutex<bool>, Condvar)>, 158 ready: Arc<(Mutex<bool>, Condvar)>, in new() argument
|
/external/rust/crates/crossbeam-utils/src/sync/ |
D | wait_group.rs | 4 use crate::primitive::sync::{Arc, Condvar, Mutex}; 54 cvar: Condvar, 62 cvar: Condvar::new(), in default()
|
D | parker.rs | 2 use crate::primitive::sync::{Arc, Condvar, Mutex}; 67 cvar: Condvar::new(), in default() 311 cvar: Condvar,
|
/external/rust/crates/tokio/src/runtime/ |
D | park.rs | 6 use crate::loom::sync::{Arc, Condvar, Mutex}; 31 condvar: Condvar, 59 condvar: Condvar::new(), in new() 75 condvar: Condvar::new(), in clone()
|
/external/rust/crates/rusqlite/src/ |
D | unlock_notify.rs | 9 use std::sync::{Condvar, Mutex}; 15 cond: Condvar, // Condition variable to wait on 24 cond: Condvar::new(), in new()
|
/external/rust/crates/rayon-core/src/ |
D | latch.rs | 2 use std::sync::{Arc, Condvar, Mutex}; 223 v: Condvar, 231 v: Condvar::new(), in new()
|
/external/rust/crates/crossbeam-utils/src/ |
D | lib.rs | 60 pub(crate) use loom::sync::{Arc, Condvar, Mutex}; 85 pub(crate) use std::sync::{Arc, Condvar, Mutex};
|
/external/rust/crates/tokio-test/src/ |
D | task.rs | 9 use std::sync::{Arc, Condvar, Mutex}; 40 condvar: Condvar, 179 condvar: Condvar::new(), in new()
|
/external/rust/crates/shared_child/src/ |
D | lib.rs | 66 use std::sync::{Condvar, Mutex}; 84 state_condvar: Condvar, 94 state_condvar: Condvar::new(), in spawn()
|
/external/rust/crates/parking_lot/ |
D | README.md | 13 This library provides implementations of `Mutex`, `RwLock`, `Condvar` and 30 1. `Mutex` and `Once` only require 1 byte of storage space, while `Condvar` 49 6. `Condvar`, `RwLock` and `Once` work on Windows XP, unlike the standard 55 9. `Condvar` is guaranteed not to produce spurious wakeups. A thread will 57 10. `Condvar::notify_all` will only wake up a single thread and requeue the 74 and `RwLock` only; `Condvar` and `Once` are not currently supported.
|
/external/adhd/audio_streams/src/ |
D | shm_streams.rs | 10 use sync::{Condvar, Mutex}; 325 request_notifier: Arc<(Mutex<bool>, Condvar)>, 342 request_notifier: Arc::new((Mutex::new(false), Condvar::new())), in new() 425 last_stream: Arc<(Mutex<Option<MockShmStream>>, Condvar)>,
|
/external/crosvm/devices/src/utils/ |
D | event_loop.rs | 202 use std::sync::{Arc, Condvar, Mutex}; 206 cvar: Condvar, 231 cvar: Condvar::new(), in event_loop_test()
|
/external/rust/crates/tokio/src/park/ |
D | thread.rs | 4 use crate::loom::sync::{Arc, Condvar, Mutex}; 27 condvar: Condvar, 46 condvar: Condvar::new(), in new()
|
/external/crosvm/cros_async/src/ |
D | sync.rs | 12 pub use cv::Condvar;
|
/external/libchromeos-rs/src/ |
D | sync.rs | 12 pub use cv::Condvar;
|
/external/rust/crates/tokio/src/runtime/blocking/ |
D | pool.rs | 3 use crate::loom::sync::{Arc, Condvar, Mutex}; 33 condvar: Condvar, 122 condvar: Condvar::new(), in new()
|