Function report |
Source Code:kernel\exit.c |
Create Date:2022-07-28 09:02:19 |
Last Modify:2020-03-17 11:17:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This function expects the tasklist_lock write-locked.
Proto:static void __exit_signal(struct task_struct *tsk)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | tsk |
94 | sig = Signal handlers: |
95 | group_dead = thread_group_leader(tsk) |
119 | If group_dead Then |
120 | tty = NULL if no tty |
121 | NULL if no tty = NULL |
122 | Else |
134 | add_device_randomness((constvoid * ) & sum_exec_runtime, sizeof(unsignedlonglong)) |
143 | task_cputime(tsk, & utime, & stime) |
147 | gtime += task_gtime(tsk) |
148 | min_flt += MM fault and swap info: this can arguably be seen as either mm-specific or thread-specific: |
150 | nvcsw += Context switch counts: |
152 | inblock += task_io_get_inblock(tsk) |
153 | oublock += task_io_get_oublock(tsk) |
154 | task_io_accounting_add( & ioac, & ioac) |
156 | nr_threads-- |
157 | __unhash_process(tsk, group_dead) |
164 | flush_sigqueue( & pending) |
165 | sighand = NULL |
166 | spin_unlock( & siglock) |
168 | __cleanup_sighand(sighand) |
170 | If group_dead Then |
171 | flush_sigqueue( & shared signal handling: ) |
172 | tty_kref_put(tty) |
Name | Describe |
---|---|
release_task |
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 |