vcl: fix deadlock in rpc
[vpp.git] / src / vcl / vcl_locked.h
index 7cfb3bd..11b71ee 100644 (file)
@@ -21,6 +21,7 @@
 #include <vcl/vppcom.h>
 
 #define VLS_INVALID_HANDLE ((int)-1)
+#define VLS_WORKER_RPC_TIMEOUT 3 /* timeout to wait rpc response. */
 
 typedef int vls_handle_t;