Function report | 
Source Code:kernel\sched\sched.h | 
Create Date:2022-07-28 05:59:27 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:task_running
Proto:static inline int task_running(struct rq *rq, struct task_struct *p)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct rq * | rq | |
| struct task_struct * | p | 
| 1627 | Return task_current(rq, p) | 
| Name | Describe | 
|---|---|
| set_user_nice | |
| yield_to | yield_to - yield the current processor to another thread in* your thread group, or accelerate that thread toward the* processor it's on | 
| klp_try_switch_task | Try to safely switch a task to the target patch state. If it's currently* running, or it's sleeping on a to-be-patched or to-be-unpatched function, or* if the stack is unreliable, return false. | 
| 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  |