Home
last modified time | relevance | path

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

/external/rust/crates/tokio/src/runtime/tests/
Dloom_pool.rs172 let (done_tx, done_rx) = oneshot::channel(); in blocking_and_regular_inner()
173 let done_tx = AtomicOneshot::new(done_tx); in blocking_and_regular_inner() localVariable
186 let done_tx = done_tx.clone(); in blocking_and_regular_inner() localVariable
190 done_tx.assert_send(()); in blocking_and_regular_inner()
267 let (done_tx, done_rx) = oneshot::channel::<()>(); in shutdown_with_notification()
282 let _ = done_tx.send(()); in shutdown_with_notification()
319 let (done_tx, done_rx) = oneshot::channel(); in pool_multi_notify()
320 let done_tx1 = AtomicOneshot::new(done_tx); in pool_multi_notify()
/external/rust/crates/tokio/tests/
Drt_common.rs199 let (done_tx, mut done_rx) = mpsc::unbounded_channel();
204 let done_tx = done_tx.clone(); localVariable
209 assert_ok!(done_tx.send(msg));
216 drop(done_tx);
251 let (done_tx, mut done_rx) = mpsc::unbounded_channel();
256 let done_tx = done_tx.clone(); localVariable
261 assert_ok!(done_tx.send(msg));
268 drop(done_tx);
Dtask_blocking.rs199 let (done_tx, done_rx) = std::sync::mpsc::channel(); in coop_disabled_in_block_in_place_in_block_on()
200 let done = done_tx.clone(); in coop_disabled_in_block_in_place_in_block_on()
225 let _ = done_tx.send(Err("timed out (probably hanging)")); in coop_disabled_in_block_in_place_in_block_on()
Drt_threaded.rs349 let (done_tx, done_rx) = mpsc::channel(); in multi_threadpool()
353 done_tx.send(()).unwrap(); in multi_threadpool()
Dtask_local_set.rs367 let (done_tx, done_rx) = std::sync::mpsc::channel(); in with_timeout()
373 done_tx.send(()).unwrap(); in with_timeout()