From cee00343d0c537a31281b4de74fadd7589d434b0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 22 Oct 2019 13:03:21 +0200 Subject: Rename global_mutex_shards to global_mutexes --- libbuild2/variable.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/variable.cxx') diff --git a/libbuild2/variable.cxx b/libbuild2/variable.cxx index 1fe9914..643a061 100644 --- a/libbuild2/variable.cxx +++ b/libbuild2/variable.cxx @@ -367,8 +367,8 @@ namespace build2 // Typification is kind of like caching so we reuse that mutex shard. // shared_mutex& m ( - ctx.mutex_shards.variable_cache[ - hash () (&v) % ctx.mutex_shards.variable_cache_size]); + ctx.mutexes.variable_cache[ + hash () (&v) % ctx.mutexes.variable_cache_size]); // Note: v.type is rechecked by typify() under lock. // -- cgit v1.1