Function report |
Source Code:kernel\sched\wait.c |
Create Date:2022-07-28 09:40:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Note! These two wait functions are entered with the* case), so there is no race with testing the wakeup* condition in the caller before they add the wait* entry to the wake queue.
Proto:int do_wait_intr(wait_queue_head_t *wq, wait_queue_entry_t *wait)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| wait_queue_head_t * | wq | |
| wait_queue_entry_t * | wait | queue lock held (and interrupts off in the _irq |
| 320 | If Value is more likely to compile time(list_empty - tests whether a list is empty*@head: the list to test.) Then __add_wait_queue_entry_tail(wq, queue lock held (and interrupts off in the _irq) |
| 327 | spin_unlock( & lock) |
| 328 | schedule() |
| 331 | Return 0 |
| 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 |