Home
last modified time | relevance | path

Searched refs:signal (Results 1 – 13 of 13) sorted by relevance

/DragonOS-0.1.2/docs/community/ChangeLog/V0.1.x/
DV0.1.1.md34 - 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 …]
DV0.1.2.md38 - 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/
Dinitial_proc.rs7 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()
Dfork.rs11 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()
Dproc-types.h125 struct signal_struct *signal; member
Dprocess.c57 ….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/
Dmod.rs1 pub mod signal; module
Dsignal.rs278 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()
Dsignal_types.rs251 pub signal: sigset_t, field
/DragonOS-0.1.2/user/apps/test_signal/
Dmain.c39 signal(SIGKILL, &handler); in main()
/DragonOS-0.1.2/user/libs/libc/src/
Dsignal.c22 int signal(int signum, __sighandler_t handler) in signal() function
/DragonOS-0.1.2/user/libs/libc/src/include/
Dsignal.h89 int signal(int signum, __sighandler_t handler);
/DragonOS-0.1.2/kernel/src/include/DragonOS/
Dsignal.h143 sigset_t signal; member