Searched refs:should_stop (Results 1 – 4 of 4) sorted by relevance
14   内核线程应当经常检查`KernelThreadMechanism::should_stop()`的结果,以确定其是否要退出。当检测到需要退出时,内核线程返回一个返回码,即可退…
193 if self.should_stop() { in process_logs()272 fn should_stop(&self) -> bool { in should_stop() method
428 pub fn should_stop(pcb: &Arc<ProcessControlBlock>) -> bool { in should_stop() method513 if !KernelThreadMechanism::should_stop(&ProcessManager::current_pcb()) { in kernel_thread_bootstrap_stage2()
952 if KernelThreadMechanism::should_stop(&ProcessManager::current_pcb()) { in clocksource_watchdog_kthread()