函数逻辑报告 |
Source Code:kernel\cgroup\freezer.c |
Create Date:2022-07-27 12:16:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Freeze or unfreeze the task by setting or clearing the JOBCTL_TRAP_FREEZE* jobctl bit.
函数原型:static void cgroup_freeze_task(struct task_struct *task, bool freeze)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | task | |
bool | freeze |
160 | 如果非lock_task_sighand(task, & flags)则返回 |
163 | 如果freeze则 |
165 | signal_wake_up(task, false) |
166 | 否则 |
168 | 唤醒中断线程 |
171 | unlock_task_sighand(task, & flags) |
名称 | 描述 |
---|---|
cgroup_do_freeze | Freeze or unfreeze all tasks in the given cgroup. |
cgroup_freezer_migrate_task | Adjust the task state (freeze or unfreeze) and revisit the state of* source and destination cgroups. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |