Function report |
Source Code:kernel\locking\percpu-rwsem.c |
Create Date:2022-07-28 09:48:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Return true if the modular sum of the sem->read_count per-CPU variable is* zero. If this sum is zero, then it is stable due to the fact that if any* newly arriving readers increment a given counter, they will immediately* decrement that same counter.
Proto:static bool readers_active_check(struct percpu_rw_semaphore *sem)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct percpu_rw_semaphore * | sem |
130 | If per_cpu_sum( * read_count) != 0 Then Return false |
138 | smp_mb() |
140 | Return true |
Name | Describe |
---|---|
percpu_down_write |
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 |