Home
last modified time | relevance | path

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

/DragonOS-0.1.7/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)
DV0.1.3.md31 - signal: update: 对于除了SIGKILL以外的信号,也将他们加入SigQueue (#120)
33 - doc: new: 新增signal的文档 (#126)
347 新增signal文档 (#126)
349 * 新增signal文档
/DragonOS-0.1.7/kernel/src/process/
Dinitial_proc.rs7 ipc::{signal::DEFAULT_SIGACTION, signal_types::SigQueue},
36 (*pcb).signal = &mut INITIAL_SIGNALS as *mut signal_struct as usize in initial_proc_init_signal()
41 (*pcb).sig_pending.signal = 0; in initial_proc_init_signal()
Dfork.rs11 signal::{flush_signal_handlers, DEFAULT_SIGACTION},
96 (*pcb).signal = sig as *mut signal_struct as usize in process_copy_signal()
102 (*pcb).sig_pending.signal = 0; in process_copy_signal()
129 let sig = Box::from_raw((*pcb).signal as *mut signal_struct); in process_exit_sighand()
131 (*pcb).signal = 0 as *mut crate::include::bindings::bindings::signal_struct; in process_exit_sighand()
Dproc-types.h129 struct signal_struct *signal; member
Dprocess.c56 ….state = PROC_UNINTERRUPTIBLE, .flags = PF_KTHREAD, .preempt_count = 0, .signal = 0, .cpu_id = 0, …
60 ….signal = &INITIAL_SIGNALS, .sighand = &INITIAL_SIGHAND, …
/DragonOS-0.1.7/docs/kernel/ipc/
Dsignal.md17   当进程A想发送信号给进程B的时候,使用`kill(pid, signal)`接口进行发送。然后陷入内核的`sys_kill()`函数中进行处理。然后内核将会把信号加入目标进程…
58 │ setup signal │ │
Dindex.rst10 signal
/DragonOS-0.1.7/kernel/src/ipc/
Dmod.rs2 pub mod signal; module
Dsignal.rs313 sigset_t::convert_mut(&mut pcb.sig_pending.signal).unwrap(), in complete_signal()
321 let _signal: Option<&mut signal_struct> = signal_struct::convert_mut(pcb.signal); in complete_signal()
404 let ptr = &sigpending::convert_ref(&(*pcb).sig_pending).unwrap().signal; in has_sig_pending()
437 if current_pcb().sig_pending.signal == 0 || (!user_mode(regs)) { in do_signal()
568 let s = pending.signal; in next_signal()
601 sigset_del(&mut pending.signal, sig); in collect_signal()
Dsignal_types.rs252 pub signal: sigset_t, field
/DragonOS-0.1.7/user/apps/test_signal/
Dmain.c38 signal(SIGKILL, &handler); in main()
/DragonOS-0.1.7/user/libs/libc/src/
Dstdlib.c70 signal(SIGABRT, SIG_DFL); in abort()
Dsignal.c22 int signal(int signum, __sighandler_t handler) in signal() function
/DragonOS-0.1.7/user/libs/libc/src/include/export/
Dsignal.h96 int signal(int signum, __sighandler_t handler);
/DragonOS-0.1.7/kernel/src/include/DragonOS/
Dsignal.h143 sigset_t signal; member
/DragonOS-0.1.7/docs/introduction/
Dfeatures.md51 - [x] signal信号