函数逻辑报告 | 
Source Code:kernel\workqueue.c | 
Create Date:2022-07-27 10:24:04 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:worker_set_flags - set worker flags and adjust nr_running accordingly*@worker: self*@flags: flags to set* Set @flags in @worker->flags and adjust nr_running accordingly.* CONTEXT:* spin_lock_irq(pool->lock)
函数原型:static inline void worker_set_flags(struct worker *worker, unsigned int flags)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct worker * | worker | |
| unsigned int | flags | 
| 949 | WARN_ON_ONCE(I: worker task != 当前进程) | 
| 952 | 如果flags按位与WORKER_NOT_RUNNING且非X: flags 按位与WORKER_NOT_RUNNING的值则 | 
| 名称 | 描述 | 
|---|---|
| process_one_work | process_one_work - process single work*@worker: self*@work: work to process* Process @work | 
| worker_thread | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |