/external/rust/crates/async-task/tests/ |
D | basic.rs | 6 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 …]
|
D | join.rs | 10 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 …]
|
D | panic.rs | 9 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()
|
D | waker_pending.rs | 8 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()
|
D | ready.rs | 8 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()
|
D | cancel.rs | 8 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()
|
D | waker_ready.rs | 9 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()
|
D | waker_panic.rs | 10 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/ |
D | spawn.rs | 11 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/ |
D | spawn.rs | 7 use async_task::{Runnable, Task}; 34 let (runnable, task) = async_task::spawn(future, schedule); in spawn()
|
D | spawn-on-thread.rs | 7 use async_task::Task; 32 let (runnable, task) = async_task::spawn(future, schedule); in spawn_on_thread()
|
D | spawn-local.rs | 7 use async_task::{Runnable, Task}; 22 let (runnable, task) = async_task::spawn_local(future, schedule); in spawn()
|
/external/rust/crates/async-task/ |
D | METADATA | 1 name: "async_task"
|
D | Android.bp | 41 crate_name: "async_task",
|
D | README.md | 35 let (runnable, task) = async_task::spawn(future, schedule);
|
/external/crosvm/cros_async/src/ |
D | queue.rs | 7 use async_task::Runnable;
|
D | fd_executor.rs | 21 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()
|
D | executor.rs | 7 use async_task::Task;
|
D | uring_executor.rs | 67 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/ |
D | lws-threadpool.h | 77 char async_task; /**< set to allow the task to shrug off the loss member
|