commit | 63e2ce61a84670ea46637fb7026fde0b6af9372b | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Jun 02 14:36:39 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 31 13:58:30 2017 +0100 |
tree | 2581179e87f02e9eefb19c61879b050fb55e6f6e | |
parent | 8aae8b1d610479b22860b75121abbcb3b1d04c76 [diff] [blame] |
MINOR: threads/polling: pollers now handle FDs depending on the process mask
diff --git a/src/ev_kqueue.c b/src/ev_kqueue.c index 326d616..8f20db2 100644 --- a/src/ev_kqueue.c +++ b/src/ev_kqueue.c
@@ -122,7 +122,7 @@ unsigned int n = 0; fd = kev[count].ident; - if (!fdtab[fd].owner) + if (!fdtab[fd].owner || !(fdtab[fd].process_mask & tid_bit)) continue; if (kev[count].filter == EVFILT_READ) {