diff options
author | Dave Barach <dave@barachs.net> | 2019-04-23 10:07:24 -0400 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-05-01 23:51:20 +0000 |
commit | 79ad20fc043d74b8812824d0862292bc83e9b09a (patch) | |
tree | e97ed7a7a8c4b8bcb26f394bd78af63e04f87abe /src/vlib/unix/mc_socket.c | |
parent | 7cbf2d154acc53609afdc76a8bef1c4023fe274a (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>
(cherry picked from commit 9ae190e9d228bfc1358482d4f07da1f4cfd41c90)
Diffstat (limited to 'src/vlib/unix/mc_socket.c')
0 files changed, 0 insertions, 0 deletions