函数逻辑报告 |
Source Code:kernel\exit.c |
Create Date:2022-07-27 10:03:02 |
Last Modify:2020-03-17 11:17:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Take down every thread in the group. This is called by fatal signals* as well as by sys_exit_group (below).
函数原型:void do_group_exit(int exit_code)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
int | exit_code |
882 | 如果If true, all threads except ->group_exit_task have pending SIGKILL 则exit_code等于hread group exit support |
884 | 否则如果非thread_group_empty(当前进程)则 |
887 | spin_lock_irq( & siglock) |
888 | 如果If true, all threads except ->group_exit_task have pending SIGKILL 则exit_code等于hread group exit support |
891 | 否则 |
894 | zap_other_threads(当前进程) |
896 | spin_unlock_irq( & siglock) |
名称 | 描述 |
---|---|
SYSCALL_DEFINE1 | his kills every thread in the thread group. Note that any externally* wait4()-ing process will get the correct exit code - even if this* thread is not the thread group leader. |
get_signal |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |