Home
last modified time | relevance | path

Searched refs:new_current_thread (Results 1 – 25 of 26) sorted by relevance

12

/external/rust/crates/tokio/tests/
Dtask_abort.rs58 let rt = Builder::new_current_thread().build().unwrap(); in test_abort_without_panic_3662()
131 let rt = Builder::new_current_thread().build().unwrap(); in remote_abort_local_set_3929()
153 let rt = Builder::new_current_thread().enable_time().build().unwrap(); in test_abort_wakes_task_3964()
185 let rt = Builder::new_current_thread().enable_time().build().unwrap(); in test_abort_task_that_panics_on_drop_contained()
210 let rt = Builder::new_current_thread().enable_time().build().unwrap(); in test_abort_task_that_panics_on_drop_returned()
Dtask_blocking.rs95 let rt = runtime::Builder::new_current_thread().build().unwrap(); in no_block_in_basic_block_on()
107 let inner = tokio::runtime::Builder::new_current_thread() in can_enter_basic_rt_from_within_block_in_place()
125 let _ = tokio::runtime::Builder::new_current_thread() in useful_panic_message_when_dropping_rt_in_rt()
147 let rt = tokio::runtime::Builder::new_current_thread() in can_shutdown_with_zero_timeout_in_runtime()
159 let rt = tokio::runtime::Builder::new_current_thread() in can_shutdown_now_in_runtime()
Dsync_once_cell.rs49 let rt = runtime::Builder::new_current_thread() in get_or_init()
74 let rt = runtime::Builder::new_current_thread() in get_or_init_panic()
99 let rt = runtime::Builder::new_current_thread() in set_and_get()
132 let rt = runtime::Builder::new_current_thread() in set_while_initializing()
157 let rt = runtime::Builder::new_current_thread() in get_or_try_init()
Dio_driver.rs48 let rt = runtime::Builder::new_current_thread() in test_drop_on_notify()
93 let rt = runtime::Builder::new_current_thread().build().unwrap(); in panics_when_io_disabled()
Drt_handle_block_on.rs56 tokio::runtime::Builder::new_current_thread()
486 fn new_current_thread() -> Runtime { in new_current_thread() function
487 tokio::runtime::Builder::new_current_thread() in new_current_thread()
501 let rt = new_current_thread(); in test_with_runtimes()
Drt_basic.rs176 let rt = tokio::runtime::Builder::new_current_thread() in timeout_panics_when_no_time_handle()
187 tokio::runtime::Builder::new_current_thread() in rt()
Dsignal_drop_rt.rs40 tokio::runtime::Builder::new_current_thread() in rt()
Dsignal_multi_rt.rs50 tokio::runtime::Builder::new_current_thread() in rt()
Dio_driver_drop.rs50 runtime::Builder::new_current_thread() in rt()
Dtime_rt.rs31 let rt = Builder::new_current_thread().enable_all().build().unwrap(); in timer_with_basic_scheduler()
Dtask_local_set.rs141 let rt = runtime::Builder::new_current_thread() in local_threadpool_blocking_in_place()
521 tokio::runtime::Builder::new_current_thread() in rt()
Dio_async_fd.rs471 tokio::runtime::Builder::new_current_thread() in rt()
Drt_common.rs13 tokio::runtime::Builder::new_current_thread()
/external/rust/crates/tokio/patches/
Dtask_abort.patch11 let rt = Builder::new_current_thread().enable_time().build().unwrap();
19 let rt = Builder::new_current_thread().enable_time().build().unwrap();
/external/rust/crates/tokio/src/runtime/tests/
Dloom_basic_scheduler.rs52 let rt1 = Arc::new(Builder::new_current_thread().build().unwrap()); in block_on_num_polls()
70 let rt = Builder::new_current_thread().build().unwrap(); in assert_no_unnecessary_polls()
Dloom_local.rs18 let rt = Builder::new_current_thread().build().unwrap(); in wake_during_shutdown()
Dtask_combinations.rs143 CombiRuntime::CurrentThread => Builder::new_current_thread().build().unwrap(), in test_combination()
/external/rust/crates/tokio-test/src/
Dlib.rs30 let rt = runtime::Builder::new_current_thread() in block_on()
/external/rust/crates/tokio/src/io/
Dstdio_common.rs186 crate::runtime::Builder::new_current_thread() in test_splitter()
202 crate::runtime::Builder::new_current_thread() in test_pseudo_text()
/external/rust/crates/tokio/src/signal/windows/
Dsys.rs149 crate::runtime::Builder::new_current_thread() in rt()
/external/rust/crates/tokio/src/signal/
Dregistry.rs259 runtime::Builder::new_current_thread() in rt()
/external/rust/crates/combine/tests/
Dasync.rs676 let runtime = tokio::runtime::Builder::new_current_thread() in decode_tokio_02()
712 let runtime = tokio::runtime::Builder::new_current_thread() in decode_tokio_03()
748 let runtime = tokio::runtime::Builder::new_current_thread() in decode_tokio()
/external/rust/crates/tokio/src/runtime/
Dbuilder.rs100 pub fn new_current_thread() -> Builder { in new_current_thread() method
/external/rust/crates/tokio-macros/src/
Dentry.rs318 tokio::runtime::Builder::new_current_thread() in parse_knobs()
/external/uwb/src/rust/uci/
Dmod.rs479 Builder::new_current_thread().build()?.block_on(UwbAdaptationImpl::new(rsp_sender))?, in new()

12