linux: tag no_accept4 __read_mostly
This commit is contained in:
parent
5f8185aba5
commit
6545e9bda4
@ -459,7 +459,7 @@ int uv__accept(int sockfd) {
|
||||
|
||||
while (1) {
|
||||
#if __linux__
|
||||
static int no_accept4;
|
||||
static __read_mostly int no_accept4;
|
||||
|
||||
if (no_accept4)
|
||||
goto skip;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user