Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:26:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static bool manage_workers(struct worker *worker)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct worker * | worker |
2127 | pool = A: the associated pool |
2129 | If X: flags & POOL_MANAGER_ACTIVE Then Return false |
2132 | X: flags |= POOL_MANAGER_ACTIVE |
2133 | L: purely informational = worker |
2137 | L: purely informational = NULL |
2138 | X: flags &= ~POOL_MANAGER_ACTIVE |
2139 | wake_up( & wq_manager_wait) |
2140 | Return true |
Name | Describe |
---|---|
worker_thread |
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 |