Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:26:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static void maybe_create_worker(struct worker_pool *pool)__releases(&pool->lock) __acquires(&pool->lock)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
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 | When (true) cycle |
2088 | If Not Do we need a new worker? Called from manager. Then Break |
2092 | del_timer_sync( & L: SOS timer for workers ) |
2093 | spin_lock_irq( & he pool lock ) |
2099 | If Do we need a new worker? Called from manager. Then Go to restart |
Name | Describe |
---|---|
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. |
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 |