Searched refs:signal (Results 1 – 20 of 20) sorted by relevance
/DragonOS-0.1.8/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)
|
D | V0.1.3.md | 31 - signal: update: 对于除了SIGKILL以外的信号,也将他们加入SigQueue (#120) 33 - doc: new: 新增signal的文档 (#126) 347 新增signal文档 (#126) 349 * 新增signal文档
|
/DragonOS-0.1.8/kernel/src/process/ |
D | initial_proc.rs | 7 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()
|
D | fork.rs | 11 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()
|
D | proc-types.h | 126 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, .address_space = NULL …
|
/DragonOS-0.1.8/docs/kernel/ipc/ |
D | signal.md | 17   当进程A想发送信号给进程B的时候,使用`kill(pid, signal)`接口进行发送。然后陷入内核的`sys_kill()`函数中进行处理。然后内核将会把信号加入目标进程… 58 │ setup signal │ │
|
D | index.rst | 10 signal
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | mod.rs | 2 pub mod signal; module
|
D | syscall.rs | 16 signal::{signal_kill_something_info, DEFAULT_SIGACTION, DEFAULT_SIGACTION_IGNORE}, 158 let retval = super::signal::do_sigaction( in sigaction()
|
D | signal.rs | 268 sigset_t::convert_mut(&mut pcb.sig_pending.signal).unwrap(), in complete_signal() 276 let _signal: Option<&mut signal_struct> = signal_struct::convert_mut(pcb.signal); in complete_signal() 359 let ptr = &sigpending::convert_ref(&(*pcb).sig_pending).unwrap().signal; in has_sig_pending() 392 if current_pcb().sig_pending.signal == 0 || (!user_mode(regs)) { in do_signal() 523 let s = pending.signal; in next_signal() 556 sigset_del(&mut pending.signal, sig); in collect_signal()
|
D | signal_types.rs | 252 pub signal: sigset_t, field
|
/DragonOS-0.1.8/user/apps/test_signal/ |
D | main.c | 38 signal(SIGKILL, &handler); in main()
|
/DragonOS-0.1.8/user/libs/libc/src/ |
D | stdlib.c | 70 signal(SIGABRT, SIG_DFL); in abort()
|
D | signal.c | 22 int signal(int signum, __sighandler_t handler) in signal() function
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/ |
D | signal.h | 96 int signal(int signum, __sighandler_t handler);
|
/DragonOS-0.1.8/kernel/src/include/DragonOS/ |
D | signal.h | 143 sigset_t signal; member
|
/DragonOS-0.1.8/docs/introduction/ |
D | features.md | 59 - [x] signal信号
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/ |
D | syscall.rs | 12 ipc::signal::sys_rt_sigreturn,
|