Commit a48655d
committed
erts: Accept sockets non-blocking with accept4
Passing SOCK_NONBLOCK to accept4() makes the SET_NONBLOCKING
call on every accepted socket redundant, saving a syscall per
accept on platforms that have accept4().1 parent 6b6e6da commit a48655d
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
200 | 199 | | |
201 | | - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
| |||
2863 | 2864 | | |
2864 | 2865 | | |
2865 | 2866 | | |
| 2867 | + | |
2866 | 2868 | | |
| 2869 | + | |
2867 | 2870 | | |
2868 | 2871 | | |
2869 | 2872 | | |
| |||
0 commit comments