Searched refs:select (Results 1 - 10 of 10) sorted by relevance
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/ |
H A D | select.rs | 19 /// The `select!` macro must be used inside of async functions, closures, and 42 /// Basic select with two branches. 51 /// ylong_runtime::select! { 77 /// ylong_runtime::select! { 100 /// Repeated uses select! until all task return. 119 /// ylong_runtime::select! { 140 /// ylong_runtime::select! { 168 macro_rules! select { macros 277 $crate::select!({ random = $bool; $($t)*; panic!("select! [all...] |
H A D | lib.rs | 56 mod select; modules
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | select.rs | 16 /// SDV test cases for select! basic usage case 19 /// 1. Uses select! to run three async task. 38 ylong_runtime::select! { in sdv_new_select_basic() 56 ylong_runtime::block_on(handle).expect("select! fail"); in sdv_new_select_basic() 59 /// SDV test cases for select! oneshot::channel usage 63 /// 2. Repeated uses select! until both channel return. 84 ylong_runtime::select! { in sdv_new_select_channel() 95 ylong_runtime::block_on(handle).expect("select! fail"); in sdv_new_select_channel() 98 /// SDV test cases for select! 'biased' usage 109 ylong_runtime::select! { in sdv_new_select_biased() [all...] |
H A D | entry.rs | 33 mod select; modules
|
/commonlibrary/rust/ylong_runtime/ylong_runtime_macros/src/ |
H A D | lib.rs | 19 mod select; modules 23 /// Implementation detail of the `select!` macro. This macro is **not** intended 39 let tuple_parser = select::tuple_parser(input); in tuple_form()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/dns/ |
H A D | happy_eyeballs.rs | 185 let (stream, stream_fut) = ylong_runtime::select! { 191 ylong_runtime::select! { 205 let (stream, stream_fut) = tokio::select! { 211 tokio::select! {
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/ |
H A D | poll.rs | 38 self.selector.select(events, timeout) in poll()
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/ |
H A D | selector.rs | 57 pub(crate) fn select(&self, events: &mut Events, timeout: Option<Duration>) -> io::Result<()> { 58 self.inner.select(events, timeout) 104 fn select(&self, events: &mut Events, timeout: Option<Duration>) -> io::Result<()> { in select() functions
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/ |
H A D | epoll.rs | 54 pub fn select(&self, events: &mut Events, timeout: Option<Duration>) -> io::Result<()> { in select() functions
|
H A D | kqueue.rs | 47 pub fn select(&self, events: &mut Events, timeout: Option<Duration>) -> io::Result<()> { in select() functions
|
Completed in 4 milliseconds