Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/process/
Dkthread.rs375 let mut worker_private = pcb.worker_private(); in stop() localVariable
377 worker_private.is_some(), in stop()
381 worker_private in stop()
389 drop(worker_private); in stop()
422 let worker_private = pcb.worker_private(); in should_stop() localVariable
424 worker_private.is_some(), in should_stop()
428 return worker_private in should_stop()
444 let mut worker_private_guard = current_pcb.worker_private(); in kthread_daemon()
445 let worker_private = WorkerPrivate::KernelThread(KernelThreadPcbPrivate::new()); in kthread_daemon() localVariable
446 *worker_private_guard = Some(worker_private); in kthread_daemon()
Dmod.rs551 worker_private: SpinLock<Option<WorkerPrivate>>, field
636 worker_private: SpinLock::new(None), in do_create_pcb()
771 pub fn worker_private(&self) -> SpinLockGuard<Option<WorkerPrivate>> { in worker_private() method
772 return self.worker_private.lock(); in worker_private()
Dfork.rs367 *pcb.worker_private() = in copy_process()
/DragonOS-0.1.9/kernel/src/arch/x86_64/process/
Dmod.rs577 current_pcb.worker_private().take(); in arch_switch_to_user()