Home
last modified time | relevance | path

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

/external/rust/crates/rayon-core/src/sleep/
Dmod.rs332 let num_to_wake = std::cmp::min(num_jobs, num_sleepers); in new_jobs() localVariable
333 self.wake_any_threads(num_to_wake); in new_jobs()
335 let num_to_wake = std::cmp::min(num_jobs - num_awake_but_idle, num_sleepers); in new_jobs() localVariable
336 self.wake_any_threads(num_to_wake); in new_jobs()
341 fn wake_any_threads(&self, mut num_to_wake: u32) { in wake_any_threads()
342 if num_to_wake > 0 { in wake_any_threads()
345 num_to_wake -= 1; in wake_any_threads()
346 if num_to_wake == 0 { in wake_any_threads()