diff options
author | Dave Barach <dave@barachs.net> | 2019-04-23 10:07:24 -0400 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-04-24 15:17:58 +0000 |
commit | 9ae190e9d228bfc1358482d4f07da1f4cfd41c90 (patch) | |
tree | 9e22b9797fbabd92f1b290fff0cc6b543a3d2bdb /src/vlib/unix/cj.c | |
parent | 502785b65c40351f62e510a245ccee56084a07f4 (diff) |
Clean up multi-thread barrier-sync hold-down timer
Main thread: don't bother with the barrier sync hold-down timer if
none of the worker threads are busy.
Worker threads: avoid epoll_pwait (10ms timeout) when the
control-plane has been active in the last half-second.
Change-Id: I82008d09968c65e2a4af0ebb7887389992e60603
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vlib/unix/cj.c')
0 files changed, 0 insertions, 0 deletions