projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36716a7
)
MINOR: threads/fd: Process cached events of FDs depending on the process mask
author
Christopher Faulet
<cfaulet@haproxy.com>
Wed, 30 Aug 2017 08:56:25 +0000
(10:56 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Tue, 31 Oct 2017 12:58:30 +0000
(13:58 +0100)
src/fd.c
patch
|
blob
|
history
diff --git
a/src/fd.c
b/src/fd.c
index
2621278
..
58bc863
100644
(file)
--- a/
src/fd.c
+++ b/
src/fd.c
@@
-245,6
+245,8
@@
void fd_process_cached_events()
for (entry = 0; entry < fd_cache_num; ) {
fd = fd_cache[entry];
+ if (!(fdtab[fd].process_mask & tid_bit))
+ goto next;
if (SPIN_TRYLOCK(FD_LOCK, &fdtab[fd].lock))
goto next;