commit | a7c5d43085d93d7d02d5181d696eaeaf9905633f | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue May 30 11:05:09 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 31 13:58:30 2017 +0100 |
tree | 7ca8e649001c0279990356ac7c749eed876f994a | |
parent | d4604adeaa8c86c378c8042487637db64e0b9910 [diff] |
MINOR: threads/fd: Add a mask of threads allowed to process on each fd in fdtab array
diff --git a/src/fd.c b/src/fd.c index 6c53a3b..2621278 100644 --- a/src/fd.c +++ b/src/fd.c
@@ -202,6 +202,7 @@ fdtab[fd].owner = NULL; fdtab[fd].updated = 0; fdtab[fd].new = 0; + fdtab[fd].process_mask = 0; if (do_close) close(fd); SPIN_UNLOCK(FD_LOCK, &fdtab[fd].lock);