Home
last modified time | relevance | path

Searched defs:KernelThreadClosure (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/src/process/
H A Dkthread.rs96 pub enum KernelThreadClosure { enum
110 unsafe impl Send for KernelThreadClosure {} implementation
111 unsafe impl Sync for KernelThreadClosure {} implementation
113 impl KernelThreadClosure { impl
152 pub fn new(func: KernelThreadClosure, name: String) -> Arc<Self> { in new()
200 pub fn take_closure(&self) -> Option<Box<KernelThreadClosure>> { in take_closure()
339 pub fn create(func: KernelThreadClosure, name: String) -> Option<Arc<ProcessControlBlock>> { in create()
364 func: KernelThreadClosure, in create_and_run()