From 67d09e05d0400c62ae3ee654efbbc8cee5806f4f Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Thu, 1 Aug 2019 08:15:01 -0400 Subject: vppinfra: make first bihash add thread-safe Type: fix Signed-off-by: Dave Barach Change-Id: Ie37ff66faba79e3b8f46c7a704137f9ef2acc773 --- src/vppinfra/bihash_template.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vppinfra/bihash_template.h') diff --git a/src/vppinfra/bihash_template.h b/src/vppinfra/bihash_template.h index 2e2ba911b7c..0865c2b3ab4 100644 --- a/src/vppinfra/bihash_template.h +++ b/src/vppinfra/bihash_template.h @@ -142,6 +142,7 @@ BVS (clib_bihash) #endif u64 alloc_arena; /* Base of the allocation arena */ + volatile u8 instantiated; /** * A custom format function to print the Key and Value of bihash_key instead of default hexdump -- cgit 1.2.3-korg