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_select.c b/src/ev_select.c index 97d4286..49e980f 100644 --- a/src/ev_select.c +++ b/src/ev_select.c
@@ -141,7 +141,7 @@ /* if we specify read first, the accepts and zero reads will be * seen first. Moreover, system buffers will be flushed faster. */ - if (!fdtab[fd].owner) + if (!fdtab[fd].owner || !(fdtab[fd].process_mask & tid_bit)) continue; if (FD_ISSET(fd, tmp_evts[DIR_RD]))