Searched refs:old_act (Results 1 - 3 of 3) sorted by relevance
/commonlibrary/rust/ylong_runtime/ylong_signal/src/ |
H A D | windows.rs | 25 let old_act = unsafe { libc::signal(sig_num, SIG_GET) }; 26 if old_act == SIG_ERR as sighandler_t { 31 act: old_act, 41 let old_act = unsafe { libc::signal(sig_num, new_action) }; 43 if old_act == SIG_ERR as sighandler_t { 47 Ok(old_act)
|
H A D | unix.rs | 25 let mut old_act: libc::sigaction = unsafe { mem::zeroed() }; variables 27 if libc::sigaction(sig_num, ptr::null(), &mut old_act) != 0 { 33 act: old_act, 41 let mut old_act: libc::sigaction = unsafe { mem::zeroed() }; variables 47 if libc::sigaction(sig_num, &handler, &mut old_act) != 0 { 52 Ok(old_act)
|
H A D | common.rs | 56 pub(crate) old_act: Action, 67 let old_act = Self::replace_sigaction(sig_num, sig_handler as ActionPtr)?; 70 old_act, 95 let old_act = SigAction::get_old_action(sig_num)?; 96 sig_map.race_old.write().store(Some(old_act)); 111 Self::replace_sigaction(sig_num, signal.old_act.sa_sigaction)?; 113 Self::replace_sigaction(sig_num, signal.old_act)?;
|
Completed in 1 milliseconds