diff options
author | Dave Barach <dave@barachs.net> | 2019-08-01 08:15:01 -0400 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-08-01 16:04:06 +0000 |
commit | 67d09e05d0400c62ae3ee654efbbc8cee5806f4f (patch) | |
tree | 076e4a4eec349fe9cd25bf53faaab66db4de4699 /src/vppinfra/bihash_template.h | |
parent | 797848d42adec70055f2be704eee8fc86b5750ff (diff) |
vppinfra: make first bihash add thread-safe
Type: fix
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: Ie37ff66faba79e3b8f46c7a704137f9ef2acc773
Diffstat (limited to 'src/vppinfra/bihash_template.h')
-rw-r--r-- | src/vppinfra/bihash_template.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |