Function report |
Source Code:kernel\locking\rwsem.c |
Create Date:2022-07-28 09:48:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:downgrade a write lock into a read lock* - caller incremented waiting part of count and discovered it still negative* - just wake up any readers at the front of the queue
Proto:static struct rw_semaphore *rwsem_downgrade_wake(struct rw_semaphore *sem)
Type:struct rw_semaphore
Parameter:
Type | Parameter | Name |
---|---|---|
struct rw_semaphore * | sem |
1327 | raw_spin_lock_irqsave( & wait_lock, flags) |
1332 | raw_spin_unlock_irqrestore( & wait_lock, flags) |
1335 | Return sem |
Name | Describe |
---|---|
__downgrade_write | downgrade write lock to read 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 |