Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:23:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Return the first idle worker. Safe with preemption disabled
Proto:static struct worker *first_idle_worker(struct worker_pool *pool)
Type:struct worker
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct worker_pool * | pool |
| 816 | If Value for the false possibility is greater at compile time(list_empty - tests whether a list is empty*@head: the list to test.) Then Return NULL |
| Name | Describe |
|---|---|
| wake_up_worker | wake_up_worker - wake up an idle worker*@pool: worker pool to wake worker from* Wake up the first idle worker of @pool.* CONTEXT:* spin_lock_irq(pool->lock). |
| wq_worker_sleeping | wq_worker_sleeping - a worker is going to sleep*@task: task going to sleep* This function is called from schedule() when a busy worker is* going to sleep. |
| put_unbound_pool | put_unbound_pool - put a worker_pool*@pool: worker_pool to put* Put @pool |
| 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 |