Function report |
Source Code:kernel\sched\core.c |
Create Date:2022-07-28 09:35:40 |
Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Called in case the task @p isn't fully descheduled from its runqueue,* in this case we must do a remote wakeup. Its a 'light' wakeup though,* since all we need to do is flip p->state to TASK_RUNNING, since* the task is still ->on_rq.
Proto:static int ttwu_remote(struct task_struct *p, int wake_flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | p | |
int | wake_flags |
2280 | ret = 0 |
2283 | If task_on_rq_queued(p) Then |
2289 | __task_rq_unlock(rq, & rf) |
2291 | Return ret |
Name | Describe |
---|---|
try_to_wake_up | ry_to_wake_up - wake up a thread*@p: the thread to be awakened*@state: the mask of task states that can be woken*@wake_flags: wake modifier flags (WF_*)* If (@state & @p->state) @p->state = TASK_RUNNING. |
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 |