diff options
author | Florin Coras <fcoras@cisco.com> | 2018-09-12 16:08:01 -0700 |
---|---|---|
committer | Marco Varlese <marco.varlese@suse.de> | 2018-09-14 07:59:41 +0000 |
commit | 86f04500ae027dc66e91519a006388e56df4ceff (patch) | |
tree | 7dfb1c7b6546637119596e845eee6a33d7fc3782 /src/vcl/vcl_private.h | |
parent | 958192dc2abf427118a227d142f5b03807098cb2 (diff) |
vcl: keep track of unexpected events
If sessions are marked as blocking, events for other sessions received
while waiting for the blocking sessions, are added to a pending list and
processed later.
Change-Id: Ia6c71006b1c2bcb78af708390da0cd436af397cc
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vcl/vcl_private.h')
-rw-r--r-- | src/vcl/vcl_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vcl/vcl_private.h b/src/vcl/vcl_private.h index 5f3c1ecd63f..29508415cbe 100644 --- a/src/vcl/vcl_private.h +++ b/src/vcl/vcl_private.h @@ -259,6 +259,9 @@ typedef struct vcl_worker_ /** Vector acting as buffer for mq messages */ svm_msg_q_msg_t *mq_msg_vector; + /** Vector of unhandled events */ + session_event_t *unhandled_evts_vector; + /** Used also as a thread stop key buffer */ pthread_t thread_id; } vcl_worker_t; |