summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
aaff5ee)
Type:feature
Change-Id: Ie73644aed94e58d5dce822de5000183e414401df
Signed-off-by: Florin Coras <fcoras@cisco.com>
+void
+vppcom_worker_unregister (void)
+{
+ vcl_worker_cleanup (vcl_worker_get_current (), 1 /* notify vpp */ );
+ vcl_set_worker_index (~0);
+}
+
int
vppcom_worker_index (void)
{
int
vppcom_worker_index (void)
{
*/
extern int vppcom_worker_register (void);
*/
extern int vppcom_worker_register (void);
+/**
+ * Unregister current worker
+ */
+extern void vppcom_worker_unregister (void);
+
/**
* Retrieve current worker index
*/
/**
* Retrieve current worker index
*/