Function report |
Source Code:lib\sbitmap.c |
Create Date:2022-07-28 07:22:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sbq_wake_ptr
Proto:static struct sbq_wait_state *sbq_wake_ptr(struct sbitmap_queue *sbq)
Type:struct sbq_wait_state
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sbitmap_queue * | sbq |
| 492 | If Not atomic_read( & @ws_active: count of currently active ws waitqueues) Then Return NULL |
| 496 | When i < SBQ_WAIT_QUEUES cycle |
| 497 | ws = @ws: Wait queues.[wake_index] |
| 500 | If wake_index != atomic_read( & @wake_index: Next wait queue in @ws to wake up.) Then atomic_set( & @wake_index: Next wait queue in @ws to wake up., wake_index) |
| 502 | Return ws |
| 505 | wake_index = sbq_index_inc(wake_index) |
| 508 | Return NULL |
| Name | Describe |
|---|---|
| __sbq_wake_up |
| 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 |