Home
last modified time | relevance | path

Searched refs:Condvar (Results 1 – 25 of 34) sorted by relevance

12

/external/crosvm/cros_async/src/sync/
Dcv.rs56 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/
Dcv.rs55 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/
Dcondvar.rs6 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
Dlib.rs27 pub use crate::condvar::Condvar;
/external/rust/crates/parking_lot/src/
Dcondvar.rs90 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 …]
Dmutex.rs114 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()
Dlib.rs42 pub use self::condvar::{Condvar, WaitTimeoutResult};
/external/rust/crates/tokio/src/loom/std/
Dparking_lot.rs21 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()
Dmod.rs59 Condvar, Mutex, MutexGuard, RwLock, RwLockReadGuard, WaitTimeoutResult,
64 pub(crate) use std::sync::{Condvar, MutexGuard, RwLock, RwLockReadGuard, WaitTimeoutResult};
/external/adhd/sound_card_init/dsm/src/
Dzero_player.rs6 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/
Dwait_group.rs4 use crate::primitive::sync::{Arc, Condvar, Mutex};
54 cvar: Condvar,
62 cvar: Condvar::new(), in default()
Dparker.rs2 use crate::primitive::sync::{Arc, Condvar, Mutex};
67 cvar: Condvar::new(), in default()
311 cvar: Condvar,
/external/rust/crates/tokio/src/runtime/
Dpark.rs6 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/
Dunlock_notify.rs9 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/
Dlatch.rs2 use std::sync::{Arc, Condvar, Mutex};
223 v: Condvar,
231 v: Condvar::new(), in new()
/external/rust/crates/crossbeam-utils/src/
Dlib.rs60 pub(crate) use loom::sync::{Arc, Condvar, Mutex};
85 pub(crate) use std::sync::{Arc, Condvar, Mutex};
/external/rust/crates/tokio-test/src/
Dtask.rs9 use std::sync::{Arc, Condvar, Mutex};
40 condvar: Condvar,
179 condvar: Condvar::new(), in new()
/external/rust/crates/shared_child/src/
Dlib.rs66 use std::sync::{Condvar, Mutex};
84 state_condvar: Condvar,
94 state_condvar: Condvar::new(), in spawn()
/external/rust/crates/parking_lot/
DREADME.md13 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/
Dshm_streams.rs10 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/
Devent_loop.rs202 use std::sync::{Arc, Condvar, Mutex};
206 cvar: Condvar,
231 cvar: Condvar::new(), in event_loop_test()
/external/rust/crates/tokio/src/park/
Dthread.rs4 use crate::loom::sync::{Arc, Condvar, Mutex};
27 condvar: Condvar,
46 condvar: Condvar::new(), in new()
/external/crosvm/cros_async/src/
Dsync.rs12 pub use cv::Condvar;
/external/libchromeos-rs/src/
Dsync.rs12 pub use cv::Condvar;
/external/rust/crates/tokio/src/runtime/blocking/
Dpool.rs3 use crate::loom::sync::{Arc, Condvar, Mutex};
33 condvar: Condvar,
122 condvar: Condvar::new(), in new()

12