From 737877e62467b924eea0a43eab68258b0c13db78 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 13 Feb 2017 09:48:12 +0200 Subject: Add MT-safe variable_cache, use for variable overrides --- build2/variable.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build2/variable.cxx') diff --git a/build2/variable.cxx b/build2/variable.cxx index 7e105e6..09790b4 100644 --- a/build2/variable.cxx +++ b/build2/variable.cxx @@ -1283,4 +1283,7 @@ namespace build2 return lookup (); } + + size_t variable_cache_mutex_shard_size; + unique_ptr variable_cache_mutex_shard; } -- cgit v1.1