forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf2857af
committed
Use unnamed POSIX semaphores on Cygwin.
Testing on CI showed that Cygwin's semctl() can fail with EAGAIN(possibly due to resource limits in cygserver that could be tuned, notexamined). Switch to so-called POSIX semaphores instead, which don'tseem to fail in that way (possibly due to a more direct implementationusing Windows semaphore primitives instead of talking to cygserver,based on a cursory glance at the source).Other known problems still prevent PostgreSQL from running on Cygwinwithout random crashes, but this rarer problem was noticed whiletesting.Discussion:https://postgr.es/m/CA%2BhUKG%2BQ6DU4Ov9LrvUyDcF3oHS4KMRVSKmVGaeePq-kOyG9gA%40mail.gmail.com1 parent39cffe9 commitf2857af
2 files changed
+6
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
211 | 211 |
| |
212 | 212 |
| |
213 | 213 |
| |
| 214 | + | |
214 | 215 |
| |
215 | 216 |
| |
216 | 217 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 8 |
| |
4 | 9 |
| |
5 | 10 |
| |
|
0 commit comments
Comments
(0)