Use thread local storage for thread index
[vpp.git] / src / vpp / stats / stats.h
index 118115b..024dc78 100644 (file)
@@ -30,7 +30,7 @@ typedef struct
 {
   volatile u32 lock;
   volatile u32 release_hint;
-  u32 thread_id;
+  u32 thread_index;
   u32 count;
   int tag;
 } data_structure_lock_t;