vcl: allow vcl worker index to be set by applications
[vpp.git] / src / vcl / vppcom.h
index d2a5a10..902e9ea 100644 (file)
@@ -329,6 +329,11 @@ extern void vppcom_worker_unregister (void);
  */
 extern int vppcom_worker_index (void);
 
+/**
+ * Set current worker index
+ */
+extern void vppcom_worker_index_set (int);
+
 /**
  * Returns the current worker's message queues epoll fd
  *