Home
last modified time | relevance | path

Searched refs:LocalPool (Results 1 – 9 of 9) sorted by relevance

/external/rust/android-crates-io/crates/futures-executor/tests/
Dlocal_pool.rs2 use futures::executor::LocalPool;
33 let mut pool = LocalPool::new(); in run_until_single_future()
45 let mut pool = LocalPool::new(); in run_until_ignores_spawned()
54 let mut pool = LocalPool::new(); in run_until_executes_spawned()
69 let mut pool = LocalPool::new(); in run_returns_if_empty()
79 let mut pool = LocalPool::new(); in run_executes_spawned()
110 let mut pool = LocalPool::new(); in run_spawn_many()
132 let mut pool = LocalPool::new(); in try_run_one_returns_if_empty()
142 let mut pool = LocalPool::new(); in try_run_one_executes_one_ready()
175 let mut pool = LocalPool::new(); in try_run_one_returns_on_no_progress()
[all …]
/external/rust/android-crates-io/crates/tokio-util/src/task/
Dspawn_pinned.rs52 pool: Arc<LocalPool>,
70 let pool = Arc::new(LocalPool { workers }); in new()
196 struct LocalPool { struct
200 impl LocalPool { implementation
/external/rust/android-crates-io/crates/futures-executor/src/
Dlocal_pool.rs32 pub struct LocalPool { struct
110 impl LocalPool { impl
303 impl Default for LocalPool { implementation
357 LocalPool::new().run_until(self.stream.next()) in next()
Dlib.rs56 pub use crate::local_pool::{block_on, block_on_stream, BlockingStream, LocalPool, LocalSpawner};
/external/rust/android-crates-io/crates/futures/tests/
Dfuture_shared.rs2 use futures::executor::{block_on, LocalPool};
102 let mut local_pool = LocalPool::new(); in peek()
Dauto_traits.rs205 assert_not_impl!(LocalPool: Send);
206 assert_not_impl!(LocalPool: Sync);
207 assert_impl!(LocalPool: Unpin);
/external/rust/android-crates-io/crates/futures/src/
Dlib.rs191 block_on, block_on_stream, enter, BlockingStream, Enter, EnterError, LocalPool,
/external/crosvm/cros_async/src/sync/
Dcv.rs490 use futures_executor::LocalPool;
601 let mut ex = LocalPool::new(); in notify_one_single_thread_async()
898 let mut ex = LocalPool::new(); in notify_all_single_thread_async()
Dmu.rs936 use futures_executor::LocalPool;
999 let mut ex = LocalPool::new(); in async_smoke()
1153 let mut ex = LocalPool::new(); in single_thread_async()
1337 let mut ex = LocalPool::new(); in rw_single_thread_async()