Home
last modified time | relevance | path

Searched refs:BlockPoolSpawner (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dblocking_pool.rs33 pub(crate) struct BlockPoolSpawner { struct
37 impl Drop for BlockPoolSpawner { argument
43 impl BlockPoolSpawner { implementation
44 pub fn new(builder: &CommonBuilder) -> BlockPoolSpawner { in new() argument
51 BlockPoolSpawner { in new()
169 impl BlockPoolSpawner { impl
425 let blocking_pool = BlockPoolSpawner::new(&thread_pool_builder.common); in ut_blocking_pool_new()
457 let mut blocking_pool = BlockPoolSpawner::new(&thread_pool_builder.common); in ut_blocking_pool_shutdown()
493 let blocking_pool = BlockPoolSpawner::new(&thread_pool_builder.common); in ut_blocking_pool_spawner_create_permanent_threads()
500 let blocking_pool = BlockPoolSpawner::new(&common.common); in ut_blocking_pool_spawner_create_permanent_threads()
[all …]
H A Dmod.rs47 use crate::executor::blocking_pool::BlockPoolSpawner;
129 pub(crate) fn global_default_blocking() -> &'static BlockPoolSpawner { in global_default_blocking()
130 static mut GLOBAL_DEFAULT_BLOCKING: MaybeUninit<BlockPoolSpawner> = MaybeUninit::uninit(); in global_default_blocking()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/builder/
H A Dmod.rs44 use crate::executor::blocking_pool::BlockPoolSpawner;
135 ) -> Result<BlockPoolSpawner, ScheduleError> {
136 let blocking_spawner = BlockPoolSpawner::new(builder);