forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9b8aa09
committed
Don't use EV_CLEAR for kqueue events.
For the semantics to match the epoll implementation, we need a socket tocontinue to appear readable/writable if you wait multiple times withoutdoing I/O in between (in Linux terminology: level-triggered rather thanedge-triggered). This distinction will be important for later commits.Similar to commit3b790d2 for Windows.Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>Discussion:https://postgr.es/m/CA%2BhUKGJAC4Oqao%3DqforhNey20J8CiG2R%3DoBPqvfR0vOJrFysGw%40mail.gmail.com1 parent7bc84a1 commit9b8aa09
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
991 | 991 |
| |
992 | 992 |
| |
993 | 993 |
| |
994 |
| - | |
| 994 | + | |
995 | 995 |
| |
996 | 996 |
| |
997 | 997 |
| |
| |||
1003 | 1003 |
| |
1004 | 1004 |
| |
1005 | 1005 |
| |
1006 |
| - | |
| 1006 | + | |
1007 | 1007 |
| |
1008 | 1008 |
| |
1009 | 1009 |
| |
|
0 commit comments
Comments
(0)