- Notifications
You must be signed in to change notification settings - Fork5
Commitf1ca515
committed
Force pgwin32_recv into nonblock mode when called from pgstat.c.
This should get rid of the usage of pgwin32_waitforsinglesocket entirely,and perhaps thereby remove the race condition that's evidently stillpresent on some versions of Windows. The previous arrangement was a bitunsafe anyway, since waiting at the recv() would not allow pgstat to noticepostmaster death.1 parentf15c2ea commitf1ca515
1 file changed
+12
-0
lines changedLines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3117 | 3117 |
| |
3118 | 3118 |
| |
3119 | 3119 |
| |
| 3120 | + | |
| 3121 | + | |
| 3122 | + | |
3120 | 3123 |
| |
| 3124 | + | |
| 3125 | + | |
| 3126 | + | |
| 3127 | + | |
3121 | 3128 |
| |
3122 | 3129 |
| |
| 3130 | + | |
| 3131 | + | |
| 3132 | + | |
| 3133 | + | |
| 3134 | + | |
3123 | 3135 |
| |
3124 | 3136 |
| |
3125 | 3137 |
| |
|
0 commit comments
Comments
(0)