forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit30829e5
committed
Add WL_SOCKET_ACCEPT event to WaitEventSet API.
To be able to handle incoming connections on a server socket withthe WaitEventSet API, we'll need a new kind of event to indicate thatthe the socket is ready to accept a connection.On Unix, it's just the same as WL_SOCKET_READABLE, but on Windows thereis a different underlying kernel event that we need to map ourabstraction to.No user yet, but a proposed patch would use this.Reviewed-by: Andres Freund <andres@anarazel.de>Discussion:https://postgr.es/m/CA%2BhUKG%2BZ-HpOj1JsO9eWUP%2Bar7npSVinsC_npxSy%2BjdOMsx%3DGg%40mail.gmail.com1 parentf4f2f2b commit30829e5
2 files changed
+19
-1
lines changedLines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
864 | 864 |
| |
865 | 865 |
| |
866 | 866 |
| |
| 867 | + | |
| 868 | + | |
| 869 | + | |
867 | 870 |
| |
868 | 871 |
| |
869 | 872 |
| |
| |||
874 | 877 |
| |
875 | 878 |
| |
876 | 879 |
| |
877 |
| - | |
| 880 | + | |
878 | 881 |
| |
879 | 882 |
| |
880 | 883 |
| |
| |||
1312 | 1315 |
| |
1313 | 1316 |
| |
1314 | 1317 |
| |
| 1318 | + | |
| 1319 | + | |
1315 | 1320 |
| |
1316 | 1321 |
| |
1317 | 1322 |
| |
| |||
2067 | 2072 |
| |
2068 | 2073 |
| |
2069 | 2074 |
| |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
2070 | 2081 |
| |
2071 | 2082 |
| |
2072 | 2083 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
135 | 135 |
| |
136 | 136 |
| |
137 | 137 |
| |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
138 | 144 |
| |
139 | 145 |
| |
140 | 146 |
| |
| 147 | + | |
141 | 148 |
| |
142 | 149 |
| |
143 | 150 |
| |
|
0 commit comments
Comments
(0)