Home
last modified time | relevance | path

Searched defs:Shared (Results 1 – 1 of 1) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
Dblocking_pool.rs140 struct Shared { struct
142 queue: VecDeque<Task>,
145 total_thread_num: u8,
148 idle_thread_num: u8,
151 notify_num: u8,
154 current_permanent_thread_num: u8,
157 shutdown: bool,
160 worker_id: usize,
163 worker_threads: VecDeque<(usize, thread::JoinHandle<()>)>,
261 fn wait_permanent(&'a self, mut shared: MutexGuard<'a, Shared>) -> (bool, MutexGuard<Shared>) { in wait_permanent()
[all …]