Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:26:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:worker_detach_from_pool() - detach a worker from its pool*@worker: worker which is attached to its pool* Undo the attaching which had been done in worker_attach_to_pool(). The* caller worker shouldn't access to the pool after detached except it has
Proto:static void worker_detach_from_pool(struct worker *worker)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct worker * | worker |
1870 | pool = A: the associated pool |
1871 | struct completion * detach_completion = NULL |
1873 | mutex_lock( & wq_pool_attach_mutex) |
1876 | A: the associated pool = NULL |
1878 | If list_empty - tests whether a list is empty*@head: the list to test. Then detach_completion = all workers detached |
1880 | mutex_unlock( & wq_pool_attach_mutex) |
1883 | X: flags &= ~(WORKER_UNBOUND | WORKER_REBOUND) |
1885 | If detach_completion Then complete(detach_completion) |
Name | Describe |
---|---|
worker_thread | |
rescuer_thread | scuer_thread - the rescuer thread function*@__rescuer: self* Workqueue rescuer thread 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 |