Searched refs:queue_was_empty (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/rayon-core/src/sleep/ |
D | mod.rs | 265 queue_was_empty: bool, in new_injected_jobs() 272 self.new_jobs(source_worker_index, num_jobs, queue_was_empty) in new_injected_jobs() 295 queue_was_empty: bool, in new_internal_jobs() 297 self.new_jobs(source_worker_index, num_jobs, queue_was_empty) in new_internal_jobs() 302 fn new_jobs(&self, source_worker_index: usize, num_jobs: u32, queue_was_empty: bool) { in new_jobs() 331 if !queue_was_empty { in new_jobs()
|
/external/rust/crates/rayon-core/src/ |
D | registry.rs | 400 let queue_was_empty = self.injected_jobs.is_empty(); in inject() localVariable 407 .new_injected_jobs(usize::MAX, injected_jobs.len() as u32, queue_was_empty); in inject() 666 let queue_was_empty = self.worker.is_empty(); in push() localVariable 670 .new_internal_jobs(self.index, 1, queue_was_empty); in push()
|