Function report |
Source Code:kernel\locking\rwsem.c |
Create Date:2022-07-28 09:48:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rwsem_optimistic_spin
Proto:static inline bool rwsem_optimistic_spin(struct rw_semaphore *sem, bool wlock)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rw_semaphore * | sem | |
| bool | wlock |
| 972 | Return false |
| Name | Describe |
|---|---|
| rwsem_down_read_slowpath | Wait for the read lock to be granted |
| rwsem_down_write_slowpath | Wait until we successfully acquire the write lock |
| 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 |