diff options
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 ba9094cd96b..75f16ca74c2 100644 --- a/src/vcl/vcl_private.h +++ b/src/vcl/vcl_private.h @@ -283,6 +283,9 @@ typedef struct vppcom_main_t_ /** 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; |