Commit f1ca515
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 still
present on some versions of Windows. The previous arrangement was a bit
unsafe anyway, since waiting at the recv() would not allow pgstat to notice
postmaster death.1 parent f15c2ea commit f1ca515
1 file changed
+12
-0
lines changed| 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