Home
last modified time | relevance | path

Searched refs:sig_struct (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/ipc/
H A Dsignal.rs211 let guard = target_pcb.sig_struct(); in complete_signal()
250 let action = pcb.sig_struct().handlers[*self as usize - 1].action(); in sig_fatal()
299 return !pcb.sig_struct().handlers[*self as usize - 1].is_ignore(); in prepare_sianal()
390 let action: &mut Sigaction = &mut pcb.sig_struct().handlers[sig as usize - 1]; in do_sigaction()
/DragonOS/kernel/src/process/
H A Dmod.rs638 sig_struct: SpinLock<SignalStruct>, field
744 sig_struct: SpinLock::new(SignalStruct::new()), in do_create_pcb()
1014 pub fn sig_struct(&self) -> SpinLockGuard<SignalStruct> { in sig_struct() method
1015 self.sig_struct.lock_irqsave() in sig_struct()
1020 if let Ok(r) = self.sig_struct.try_lock_irqsave() { in try_sig_struct_irqsave()
1029 self.sig_struct.lock_irqsave() in sig_struct_irqsave()