函数逻辑报告 |
Source Code:kernel\workqueue.c |
Create Date:2022-07-27 10:26:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:maybe_create_worker - create a new worker if necessary*@pool: pool to create a new worker for* Create a new worker for @pool if necessary
函数原型:static void maybe_create_worker(struct worker_pool *pool)__releases(&pool->lock) __acquires(&pool->lock)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct worker_pool * | pool |
2076 | restart : |
2077 | spin_unlock_irq( & he pool lock ) |
2080 | mod_timer( & L: SOS timer for workers , jiffies + MAYDAY_INITIAL_TIMEOUT) |
2082 | 当(true)循环 |
2092 | del_timer_sync( & L: SOS timer for workers ) |
2093 | spin_lock_irq( & he pool lock ) |
名称 | 描述 |
---|---|
manage_workers | manage_workers - manage worker pool*@worker: self* Assume the manager role and manage the worker pool @worker belongs* to. At any given time, there can be only zero or one manager per* pool. The exclusion is handled automatically by this function. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |