Home
last modified time | relevance | path

Searched refs:async_task (Results 1 – 20 of 20) sorted by relevance

/external/rust/crates/async-task/tests/
Dbasic.rs6 use async_task::Runnable;
82 let (runnable, task) = async_task::spawn(f, s); in drop_and_detach()
106 let (runnable, task) = async_task::spawn(f, s); in detach_and_drop()
125 let (runnable, task) = async_task::spawn(f, s); in detach_and_run()
144 let (runnable, task) = async_task::spawn(f, s); in run_and_detach()
163 let (runnable, task) = async_task::spawn(f, s); in cancel_and_run()
182 let (runnable, task) = async_task::spawn(f, s); in run_and_cancel()
201 let (runnable, mut task) = async_task::spawn(f, s); in cancel_join()
232 let (runnable, _task) = async_task::spawn(future::poll_fn(|_| Poll::<()>::Pending), schedule); in schedule()
257 let (runnable, _task) = async_task::spawn(future::poll_fn(|_| Poll::<()>::Pending), schedule); in schedule_counter()
[all …]
Djoin.rs10 use async_task::Runnable;
101 let (runnable, task) = async_task::spawn(f, s); in drop_and_join()
120 let (runnable, task) = async_task::spawn(f, s); in run_and_join()
139 let (runnable, task) = async_task::spawn(f, s); in detach_and_run()
158 let (runnable, mut task) = async_task::spawn(f, s); in join_twice()
187 let (runnable, task) = async_task::spawn(f, s); in join_and_cancel()
218 let (runnable, task) = async_task::spawn(f, s); in join_and_run()
249 let (runnable, mut task) = async_task::spawn(f, s); in try_join_and_run_and_join()
287 let (runnable, mut task) = async_task::spawn(f, s); in try_join_and_cancel_and_run()
321 let (runnable, mut task) = async_task::spawn(f, s); in try_join_and_run_and_cancel()
[all …]
Dpanic.rs9 use async_task::Runnable;
87 let (runnable, task) = async_task::spawn(f, s); in cancel_during_run()
113 let (runnable, task) = async_task::spawn(f, s); in run_and_join()
132 let (runnable, mut task) = async_task::spawn(f, s); in try_join_and_run_and_join()
157 let (runnable, task) = async_task::spawn(f, s); in join_during_run()
187 let (runnable, mut task) = async_task::spawn(f, s); in try_join_during_run()
214 let (runnable, task) = async_task::spawn(f, s); in detach_during_run()
Dwaker_pending.rs8 use async_task::Runnable;
98 let (runnable, _task) = async_task::spawn(f, s); in wake_during_run()
142 let (runnable, task) = async_task::spawn(f, s); in cancel_during_run()
184 let (runnable, task) = async_task::spawn(f, s); in wake_and_cancel_during_run()
233 let (runnable, task) = async_task::spawn(f, s); in cancel_and_wake_during_run()
282 let (runnable, task) = async_task::spawn(f, s); in drop_last_waker()
313 let (runnable, task) = async_task::spawn(f, s); in cancel_last_task()
342 let (runnable, task) = async_task::spawn(f, s); in drop_last_task()
Dready.rs8 use async_task::Runnable;
99 let (runnable, task) = async_task::spawn(f, s); in cancel_during_run()
141 let (runnable, task) = async_task::spawn(f, s); in join_during_run()
174 let (runnable, mut task) = async_task::spawn(f, s); in try_join_during_run()
203 let (runnable, task) = async_task::spawn(f, s); in detach_during_run()
Dcancel.rs8 use async_task::Runnable;
100 let (runnable, task) = async_task::spawn(f, s); in run_and_cancel()
121 let (runnable, task) = async_task::spawn(f, s); in cancel_and_run()
158 let (runnable, task) = async_task::spawn(f, s); in cancel_during_run()
Dwaker_ready.rs9 use async_task::Runnable;
104 let (mut runnable, task) = async_task::spawn(f, s); in wake()
143 let (mut runnable, task) = async_task::spawn(f, s); in wake_by_ref()
182 let (mut runnable, task) = async_task::spawn(f, s); in clone()
221 let (runnable, task) = async_task::spawn(f, s); in wake_dropped()
253 let (runnable, task) = async_task::spawn(f, s); in wake_completed()
Dwaker_panic.rs10 use async_task::Runnable;
111 let (runnable, task) = async_task::spawn(f, s); in wake_during_run()
154 let (runnable, task) = async_task::spawn(f, s); in cancel_during_run()
196 let (runnable, task) = async_task::spawn(f, s); in wake_and_cancel_during_run()
245 let (runnable, task) = async_task::spawn(f, s); in cancel_and_wake_during_run()
294 let (runnable, task) = async_task::spawn(f, s); in panic_and_poll()
/external/rust/crates/async-task/benches/
Dspawn.rs11 let _ = async_task::spawn(async {}, drop); in task_create()
18 let (runnable, task) = async_task::spawn(async {}, drop); in task_run()
/external/rust/crates/async-task/examples/
Dspawn.rs7 use async_task::{Runnable, Task};
34 let (runnable, task) = async_task::spawn(future, schedule); in spawn()
Dspawn-on-thread.rs7 use async_task::Task;
32 let (runnable, task) = async_task::spawn(future, schedule); in spawn_on_thread()
Dspawn-local.rs7 use async_task::{Runnable, Task};
22 let (runnable, task) = async_task::spawn_local(future, schedule); in spawn()
/external/rust/crates/async-task/
DMETADATA1 name: "async_task"
DAndroid.bp41 crate_name: "async_task",
DREADME.md35 let (runnable, task) = async_task::spawn(future, schedule);
/external/crosvm/cros_async/src/
Dqueue.rs7 use async_task::Runnable;
Dfd_executor.rs21 use async_task::Task;
293 let (runnable, task) = async_task::spawn(f, schedule); in spawn()
310 let (runnable, task) = async_task::spawn_local(f, schedule); in spawn_local()
Dexecutor.rs7 use async_task::Task;
During_executor.rs67 use async_task::Task;
314 let (runnable, task) = async_task::spawn(f, schedule); in spawn()
331 let (runnable, task) = async_task::spawn_local(f, schedule); in spawn_local()
/external/libwebsockets/include/libwebsockets/
Dlws-threadpool.h77 char async_task; /**< set to allow the task to shrug off the loss member