Function report |
Source Code:kernel\sched\core.c |
Create Date:2022-07-28 09:35:28 |
| Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__wake_q_add
Proto:static bool __wake_q_add(struct wake_q_head *head, struct task_struct *task)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct wake_q_head * | head | |
| struct task_struct * | task |
| 426 | smp_mb__before_atomic() |
| 427 | If Value for the false possibility is greater at compile time(cmpxchg_relaxed( & next, NULL, WAKE_Q_TAIL)) Then Return false |
| 435 | Return true |
| Name | Describe |
|---|---|
| wake_q_add | wake_q_add() - queue a wakeup for 'later' waking |
| wake_q_add_safe | wake_q_add_safe() - safely queue a wakeup for 'later' waking |
| 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 |