MINOR: threads/fd: Process cached events of FDs depending on the process mask

This commit is contained in:
Christopher Faulet 2017-08-30 10:56:25 +02:00 committed by Willy Tarreau
parent 36716a7fec
commit 8aae8b1d61

View file

@ -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;