Searched defs:Runtime (Results 1 – 7 of 7) sorted by relevance
83 pub struct Runtime { struct88 impl Runtime { implementation151 impl Runtime { impl158 impl Runtime { implementation310 impl Runtime { impl
34 pub fn build(&mut self) -> io::Result<Runtime> { in build()
107 pub fn build(&mut self) -> io::Result<Runtime> { in build()
45 pub fn ylong_runtime_set_threads(threads_count: usize) -> Runtime { in ylong_runtime_set_threads()59 pub fn tokio_runtime_set_threads(threads_count: usize) -> tokio::runtime::Runtime { in tokio_runtime_set_threads()
94 fn iter(runtime: Arc<Runtime>, sender: mpsc::SyncSender<()>, n: usize) { in chained_spawn()
385 pub fn init_test_work_runtime(thread_num: usize) -> Runtime { in init_test_work_runtime()
23 fn test_spawn(runtime: &Runtime) { in test_spawn()