Searched refs:signal (Results 1 – 13 of 13) sorted by relevance
/DragonOS-0.1.2/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.1.md | 34 - signal的发送 41 - shell:增加kill命令,可向目标进程发送信号。但由于仍未完善signal机制,因此目标进程暂时不能响应这个信号。 173 bugfix: 修复进程退出时未释放signal和sighand && 增加赞赏者名单:David Wen (#93) 175 * bugfix: 修复进程退出时未释放signal和sighand的bug 183 修正drop signal结构体的box对象的的问题 (#92) 185 * fix: exit signal and exit sighand 191 new:在fork时拷贝signal和sighand (#91) 198 * new: 拷贝signal 205 signal的发送(暂时父子进程之间共享信号及相应的结构体) (#89) 209 * new: 初步实现signal的数据结构 [all …]
|
D | V0.1.2.md | 38 - libc增加`signal()`,`sigaction()`函数。 59 - new: 测试signal用的app 255 signal的处理(kill命令)以及一些其他的改进 (#100) 273 * new: 测试signal用的app 283 * new: signal处理(kill)
|
/DragonOS-0.1.2/kernel/src/process/ |
D | initial_proc.rs | 7 ipc::{signal::DEFAULT_SIGACTION, signal_types::SigQueue}, 37 (*pcb).signal = &mut INITIAL_SIGNALS as *mut signal_struct as usize in initial_proc_init_signal() 42 (*pcb).sig_pending.signal = 0; in initial_proc_init_signal()
|
D | fork.rs | 11 signal::{flush_signal_handlers, DEFAULT_SIGACTION}, 95 (*pcb).signal = sig as *mut signal_struct as usize in process_copy_signal() 101 (*pcb).sig_pending.signal = 0; in process_copy_signal() 128 let sig = Box::from_raw((*pcb).signal as *mut signal_struct); in process_exit_sighand() 130 (*pcb).signal = 0 as *mut crate::include::bindings::bindings::signal_struct; in process_exit_sighand()
|
D | proc-types.h | 125 struct signal_struct *signal; member
|
D | process.c | 57 ….state = PROC_UNINTERRUPTIBLE, .flags = PF_KTHREAD, .preempt_count = 0, .signal = 0, .cpu_id = 0, … 61 ….signal = &INITIAL_SIGNALS, .sighand = &INITIAL_SIGHAND, …
|
/DragonOS-0.1.2/kernel/src/ipc/ |
D | mod.rs | 1 pub mod signal; module
|
D | signal.rs | 278 sigset_t::convert_mut(&mut pcb.sig_pending.signal).unwrap(), in complete_signal() 286 let _signal: Option<&mut signal_struct> = signal_struct::convert_mut(pcb.signal); in complete_signal() 369 let ptr = &sigpending::convert_ref(&(*pcb).sig_pending).unwrap().signal; in has_sig_pending() 402 if current_pcb().sig_pending.signal == 0 || (!user_mode(regs)) { in do_signal() 534 let s = pending.signal; in next_signal() 567 sigset_del(&mut pending.signal, sig); in collect_signal()
|
D | signal_types.rs | 251 pub signal: sigset_t, field
|
/DragonOS-0.1.2/user/apps/test_signal/ |
D | main.c | 39 signal(SIGKILL, &handler); in main()
|
/DragonOS-0.1.2/user/libs/libc/src/ |
D | signal.c | 22 int signal(int signum, __sighandler_t handler) in signal() function
|
/DragonOS-0.1.2/user/libs/libc/src/include/ |
D | signal.h | 89 int signal(int signum, __sighandler_t handler);
|
/DragonOS-0.1.2/kernel/src/include/DragonOS/ |
D | signal.h | 143 sigset_t signal; member
|