diff options
author | Florin Coras <fcoras@cisco.com> | 2018-05-31 17:14:10 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-06-01 21:18:45 +0000 |
commit | b2371c25fed6b2e751163df590bb9d9a93a75a0f (patch) | |
tree | ae528ef4d8f64ca3b8fdc977ce74671f5b344334 /test/doc | |
parent | 7dbd7265daf6fa0f522870586036c89a99bc4958 (diff) |
session: improve disconnect handling
If the caller is the session owning thread or the main thread with a
worker barrier sync (cli/api) add an event to the pending disconnects
vector in the session node and entirely avoid using the event queue.
Useful for bursts of disconnects (like an app detach).
If disconnects come from a processes, be willing to retry enqueueing the
disconnect to the event queue multiple times.
Change-Id: Ieece1f1091b713f94c41c703b6e805bc8498816a
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'test/doc')
0 files changed, 0 insertions, 0 deletions