Function report |
Source Code:kernel\sched\wait_bit.c |
Create Date:2022-07-28 09:40:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:To allow interruptible waiting and asynchronous (i.e. nonblocking)* waiting, the actions of __wait_on_bit() and __wait_on_bit_lock() are* permitted return codes. Nonzero return codes halt waiting and return.
Proto:int __sched __wait_on_bit(struct wait_queue_head *wq_head, struct wait_bit_queue_entry *wbq_entry, wait_bit_action_f *action, unsigned mode)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct wait_queue_head * | wq_head | |
| struct wait_bit_queue_entry * | wbq_entry | |
| wait_bit_action_f * | action | |
| unsigned | mode |
| 44 | ret = 0 |
| 46 | Do |
| 50 | When st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from && Not ret cycle |
| 54 | Return ret |
| Name | Describe |
|---|---|
| out_of_line_wait_on_bit | |
| out_of_line_wait_on_bit_timeout |
| 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 |