Home
last modified time | relevance | path

Searched refs:LocalSpawner (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/futures-executor/src/
Dlocal_pool.rs36 pub struct LocalSpawner { struct
129 pub fn spawner(&self) -> LocalSpawner { in spawner() argument
130 LocalSpawner { in spawner()
366 impl Spawn for LocalSpawner { implementation
385 impl LocalSpawn for LocalSpawner { implementation
Dlib.rs52 pub use crate::local_pool::{block_on, block_on_stream, BlockingStream, LocalPool, LocalSpawner};
/external/crosvm/cros_async/src/sync/
Dcv.rs457 use futures_executor::{LocalPool, LocalSpawner, ThreadPool};
551 async fn wait(mu: Rc<Mutex<()>>, cv: Rc<Condvar>, spawner: LocalSpawner) { in notify_one_single_thread_async() argument
846 async fn watcher(mu: Rc<Mutex<usize>>, cv: Rc<Condvar>, spawner: LocalSpawner) { in notify_all_single_thread_async() argument
/external/libchromeos-rs/src/sync/
Dcv.rs492 use futures_executor::{LocalPool, LocalSpawner, ThreadPool};
587 async fn wait(mu: Rc<Mutex<()>>, cv: Rc<Condvar>, spawner: LocalSpawner) { in notify_one_single_thread_async() argument
882 async fn watcher(mu: Rc<Mutex<usize>>, cv: Rc<Condvar>, spawner: LocalSpawner) { in notify_all_single_thread_async() argument
/external/rust/crates/futures/tests/
Dauto_traits.rs204 assert_not_impl!(LocalSpawner: Send);
205 assert_not_impl!(LocalSpawner: Sync);
206 assert_impl!(LocalSpawner: Unpin);