- Notifications
You must be signed in to change notification settings - Fork28
Commitba16aad
committed
Switch flags tracking pending interrupts to sig_atomic_t
Those previously used bool, which should be safe on any modernplatforms, however the C standard is clear that it is better to usesig_atomic_t for variables manipulated in signal handlers. This commitadds at the same time PGDLLIMPORT to ClientConnectionLost.Author: Michael PaquierReviewed-by: Tom Lane, Chris Travers, Andres FreundDiscussion:https://postgr.es/m/20180925011311.GD1354@paquier.xyz1 parent751f532 commitba16aad
2 files changed
+10
-10
lines changedLines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
80 |
| - | |
81 |
| - | |
82 |
| - | |
83 |
| - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
84 | 84 |
| |
85 | 85 |
| |
86 |
| - | |
| 86 | + | |
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
|
0 commit comments
Comments
(0)