Function report |
Source Code:kernel\sched\completion.c |
Create Date:2022-07-28 09:41:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_wait_for_common
Proto:static inline long __sched do_wait_for_common(struct completion *x, long (*action)(long ), long timeout, int state)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
struct completion * | x | |
long (* | action | |
long | timeout | |
int | state |
72 | If Not done Then |
75 | __add_wait_queue_entry_tail_exclusive( & wait, & wait) |
76 | Do |
77 | If signal_pending_state(state, current process) Then |
79 | Break |
82 | spin_unlock_irq( & lock) |
84 | spin_lock_irq( & lock) |
86 | __remove_wait_queue( & wait, & wait) |
92 | Return If timeout Else 1 |
Name | Describe |
---|---|
__wait_for_common |
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 |