Function report |
Source Code:kernel\exit.c |
Create Date:2022-07-28 09:03:27 |
| Last Modify:2020-03-17 11:17:32 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:task_stopped_code
Proto:static int *task_stopped_code(struct task_struct *p, bool ptrace)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | p | |
| bool | ptrace |
| 1105 | If ptrace Then |
| 1106 | If task_is_traced(p) && Not (siglock protected & JOBCTL_LISTENING) Then Return exit code |
| 1108 | Else |
| 1109 | If Per task flags (PF_*), defined further below: & job control stop in effect Then Return group_exit_code |
| 1112 | Return NULL |
| Name | Describe |
|---|---|
| wait_task_stopped | wait_task_stopped - Wait for %TASK_STOPPED or %TASK_TRACED*@wo: wait options*@ptrace: is the wait for ptrace*@p: task to wait for* Handle sys_wait4() work for %p in state %TASK_STOPPED or %TASK_TRACED |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |