Searched refs:sleep_state (Results 1 – 1 of 1) sorted by relevance
155 let sleep_state = &self.worker_sleep_states[worker_index]; in sleep() localVariable156 let mut is_blocked = sleep_state.is_blocked.lock().unwrap(); in sleep()226 is_blocked = sleep_state.condvar.wait(is_blocked).unwrap(); in sleep()355 let sleep_state = &self.worker_sleep_states[index]; in wake_specific_thread() localVariable357 let mut is_blocked = sleep_state.is_blocked.lock().unwrap(); in wake_specific_thread()360 sleep_state.condvar.notify_one(); in wake_specific_thread()