函数逻辑报告 |
Source Code:kernel\signal.c |
Create Date:2022-07-27 10:15:29 |
| Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Handle magic process-wide effects of stop/continue signals
函数原型:static bool prepare_signal(int sig, struct task_struct *p, bool force)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| int | sig | |
| struct task_struct * | p | |
| bool | force |
| 900 | 如果see SIGNAL_* flags below 按位与group exit in progress 按位或coredump in progress 的值则 |
| 901 | 如果非see SIGNAL_* flags below 按位与group exit in progress 的值则返回:sig恒等于SIGKILL |
| 906 | 否则如果sig_kernel_stop(sig)则 |
| 910 | siginitset( & flush, sigmask(SIGCONT)) |
| 912 | for_each_thread(p, t) |
| 919 | siginitset( & flush, SIG_KERNEL_STOP_MASK) |
| 921 | for_each_thread(p, t) |
| 938 | why等于0 |
| 941 | 否则如果hread group stop support, overloads group_exit_code too 则why或等于Pending notifications to parent. |
| 944 | 如果why则 |
| 956 | 返回:非sig_ignored(p, sig, force) |
| 名称 | 描述 |
|---|---|
| __send_signal | |
| send_sigqueue |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |