forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite2d394d
committed
Use WaitLatch() for condition variables.
Previously, condition_variable.c created a long lived WaitEventSet toavoid extra system calls. WaitLatch() now uses something similarinternally, so there is no point in wasting an extra kernel descriptor.Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>Discussion:https://postgr.es/m/CA%2BhUKGJAC4Oqao%3DqforhNey20J8CiG2R%3DoBPqvfR0vOJrFysGw%40mail.gmail.com1 parent3347c98 commite2d394d
1 file changed
+5
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 33 | | |
37 | 34 | | |
38 | 35 | | |
| |||
62 | 59 | | |
63 | 60 | | |
64 | 61 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 62 | | |
83 | 63 | | |
84 | 64 | | |
| |||
135 | 115 | | |
136 | 116 | | |
137 | 117 | | |
| 118 | + | |
138 | 119 | | |
139 | 120 | | |
140 | 121 | | |
| |||
166 | 147 | | |
167 | 148 | | |
168 | 149 | | |
| 150 | + | |
169 | 151 | | |
| 152 | + | |
| 153 | + | |
170 | 154 | | |
171 | 155 | | |
172 | 156 | | |
173 | | - | |
174 | 157 | | |
175 | 158 | | |
176 | 159 | | |
177 | 160 | | |
178 | 161 | | |
179 | 162 | | |
180 | | - | |
181 | | - | |
| 163 | + | |
182 | 164 | | |
183 | 165 | | |
184 | 166 | | |
| |||
0 commit comments
Comments
(0)