Searched defs:KernelThreadClosure (Results 1 – 1 of 1) sorted by relevance
96 pub enum KernelThreadClosure { enum110 unsafe impl Send for KernelThreadClosure {} implementation111 unsafe impl Sync for KernelThreadClosure {} implementation113 impl KernelThreadClosure { implementation152 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()