commit | de9f08b0302d5b4cdc8fbfeb9a9585f46e8314f2 | [log] [tgz] |
---|---|---|
author | Florin Coras <fcoras@cisco.com> | Fri Sep 07 14:32:58 2018 -0700 |
committer | Damjan Marion <dmarion@me.com> | Sat Sep 08 12:12:13 2018 +0000 |
tree | 563b654d8337e5502f994b33fd08a361a46c2df3 | |
parent | da3eec1672d66131ec85f8420f4df070e6cf326d [diff] [blame] |
vcl: register workers in order Change-Id: Ibc74e7f7587f8b17fc0dcec20cc4530b9dd4c3ca Signed-off-by: Florin Coras <fcoras@cisco.com>
diff --git a/src/vcl/vcl_private.h b/src/vcl/vcl_private.h index ba9094c..75f16ca 100644 --- a/src/vcl/vcl_private.h +++ b/src/vcl/vcl_private.h
@@ -283,6 +283,9 @@ /** Workers */ vcl_worker_t *workers; + /** Lock to protect worker registrations */ + clib_spinlock_t workers_lock; + #ifdef VCL_ELOG /* VPP Event-logger */ elog_main_t elog_main;