forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf5a5773
committed
Allow condition variables to be used in interrupt code.
Adjust the condition variable sleep loop to work correctly when codereached by its internal CHECK_FOR_INTERRUPTS() call interacts withanother condition variable.There are no such cases currently, but a proposed patch would do this.Discussion:https://postgr.es/m/CA+hUKGLdemy2gBm80kz20GTe6hNVwoErE8KwcJk6-U56oStjtg@mail.gmail.com1 parent814f1d8 commitf5a5773
1 file changed
+9
-2
lines changedLines changed: 9 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
165 | 165 |
| |
166 | 166 |
| |
167 | 167 |
| |
168 |
| - | |
169 |
| - | |
170 | 168 |
| |
171 | 169 |
| |
172 | 170 |
| |
| |||
190 | 188 |
| |
191 | 189 |
| |
192 | 190 |
| |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
193 | 200 |
| |
194 | 201 |
| |
195 | 202 |
| |
|
0 commit comments
Comments
(0)