函数逻辑报告 |
Source Code:kernel\workqueue.c |
Create Date:2022-07-27 10:26:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:worker_attach_to_pool() - attach a worker to a pool*@worker: worker to be attached*@pool: the target pool* Attach @worker to @pool. Once attached, the %WORKER_UNBOUND flag and* cpu-binding of @worker are kept coordinated with the pool across
函数原型:static void worker_attach_to_pool(struct worker *worker, struct worker_pool *pool)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct worker * | worker | |
struct worker_pool * | pool |
1838 | mutex_lock( & wq_pool_attach_mutex) |
1851 | 如果X: flags 按位与POOL_DISASSOCIATED则X: flags 或等于WORKER_UNBOUND |
1854 | 添加链表项 |
1855 | A: the associated pool 等于pool |
1857 | mutex_unlock( & wq_pool_attach_mutex) |
名称 | 描述 |
---|---|
create_worker | reate_worker - create a new workqueue worker*@pool: pool the new worker will belong to* Create and start a new worker which is attached to @pool.* CONTEXT:* Might sleep. Does GFP_KERNEL allocations.* Return:* Pointer to the newly created worker. |
rescuer_thread | scuer_thread - the rescuer thread function*@__rescuer: self* Workqueue rescuer thread function |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |