/external/rust/crates/tokio/src/task/ |
D | mod.rs | 286 mod yield_now; 287 pub use yield_now::yield_now;
|
D | yield_now.rs | 16 pub async fn yield_now() {
|
/external/rust/crates/tokio/tests/ |
D | rt_basic.rs | 79 tokio::task::yield_now().await; in no_extra_poll() 87 tokio::task::yield_now().await; in no_extra_poll() 95 tokio::task::yield_now().await; in no_extra_poll() 131 task::yield_now().await; in acquire_mutex_in_drop()
|
D | macros_select.rs | 127 task::yield_now().await; in select_streams() 130 task::yield_now().await; in select_streams() 133 task::yield_now().await; in select_streams() 511 use tokio::task::yield_now; in biased_eventually_ready() 514 let two = async { yield_now().await }; in biased_eventually_ready() 515 let three = async { yield_now().await }; in biased_eventually_ready()
|
D | tcp_stream.rs | 55 tokio::task::yield_now().await; in try_read_write() 104 tokio::task::yield_now().await; in try_read_write() 262 tokio::task::yield_now().await; in try_read_buf() 311 tokio::task::yield_now().await; in try_read_buf()
|
D | uds_stream.rs | 90 tokio::task::yield_now().await; in try_read_write() 139 tokio::task::yield_now().await; in try_read_write() 282 tokio::task::yield_now().await; in try_read_buf() 331 tokio::task::yield_now().await; in try_read_buf()
|
D | task_local_set.rs | 91 task::yield_now().await; in localset_future_drives_all_local_futs() 94 task::yield_now().await; in localset_future_drives_all_local_futs() 98 task::yield_now().await; in localset_future_drives_all_local_futs() 486 task::yield_now().await; in acquire_mutex_in_drop()
|
D | task_abort.rs | 88 tokio::task::yield_now().await; in test_abort_without_panic_3662()
|
/external/rust/crates/tokio/src/time/driver/tests/ |
D | mod.rs | 61 thread::yield_now(); in single_timer() 94 thread::yield_now(); in drop_timer() 127 thread::yield_now(); in change_waker() 170 thread::yield_now(); in reset_future()
|
/external/rust/crates/tokio/src/sync/mpsc/ |
D | list.rs | 165 thread::yield_now(); in find_block() 269 thread::yield_now(); in try_advancing_head() 305 thread::yield_now(); in reclaim_blocks()
|
/external/rust/crates/parking_lot/src/ |
D | rwlock.rs | 245 thread::yield_now(); in test_ruw_arc() 261 thread::yield_now(); in test_ruw_arc() 265 thread::yield_now(); in test_ruw_arc() 301 thread::yield_now(); in test_rw_arc() 552 thread::yield_now(); in test_rwlock_recursive()
|
/external/rust/crates/rayon-core/src/sleep/ |
D | mod.rs | 109 thread::yield_now(); in no_work_found() 114 thread::yield_now(); in no_work_found() 117 thread::yield_now(); in no_work_found()
|
/external/rust/crates/rayon/src/iter/ |
D | par_bridge.rs | 5 use std::thread::yield_now; 187 yield_now(); //TODO: use a thread=pool-aware yield? (#548) in fold_with()
|
/external/rust/crates/tokio/src/runtime/tests/ |
D | loom_pool.rs | 91 task::yield_now().await in only_blocking_inner() 129 task::yield_now().await in blocking_and_regular_inner() 218 task::yield_now().await; in complete_block_on_under_load()
|
D | task.rs | 17 crate::task::yield_now().await; in schedule() 31 crate::task::yield_now().await; in shutdown()
|
/external/rust/crates/parking_lot_core/src/thread_parker/ |
D | wasm.rs | 53 thread::yield_now(); in thread_yield()
|
D | generic.rs | 77 thread::yield_now(); in thread_yield()
|
D | sgx.rs | 93 thread::yield_now(); in thread_yield()
|
/external/rust/crates/tokio/src/sync/tests/ |
D | loom_list.rs | 43 thread::yield_now(); in smoke()
|
/external/rust/crates/getrandom/tests/common/ |
D | mod.rs | 57 thread::yield_now(); in test_multithreading()
|
/external/rust/crates/spin/src/ |
D | lib.rs | 62 use std::thread::yield_now as relax;
|
/external/rust/crates/futures/tests/ |
D | atomic_waker.rs | 43 thread::yield_now(); in basic()
|
/external/rust/crates/tokio/src/runtime/task/ |
D | core.rs | 172 pub(super) fn yield_now(&self, task: Notified<S>) { in yield_now() method 177 Some(scheduler) => scheduler.yield_now(task), in yield_now()
|
/external/rust/crates/crossbeam-channel/tests/ |
D | golang.rs | 430 thread::yield_now(); in main() 431 thread::yield_now(); in main() 432 thread::yield_now(); in main() 804 thread::yield_now(); in send1() 811 thread::yield_now(); in send2() 820 thread::yield_now(); in send3() 1382 thread::yield_now(); in test_pseudo_random_send() 1429 thread::yield_now(); in test_multi_consumer()
|
/external/rust/crates/crossbeam-utils/src/ |
D | backoff.rs | 226 ::std::thread::yield_now(); in snooze()
|