Function report |
Source Code:include\linux\ptr_ring.h |
Create Date:2022-07-28 13:22:55 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Test ring empty status without taking any locks
Proto:static inline bool __ptr_ring_empty(struct ptr_ring *r)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct ptr_ring * | r |
| 195 | If Value is more likely to compile time( Read-only by both the producer and the consumer ) Then Return Not queue[READ_ONCE(consumer_head)] |
| 197 | Return true |
| Name | Describe |
|---|---|
| cpu_map_kthread_run |
| 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 |