aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-22 13:03:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-22 13:03:21 +0200
commitcee00343d0c537a31281b4de74fadd7589d434b0 (patch)
treee431925cb8d77194c9ae564dedc2739030b202b7 /libbuild2/variable.txx
parentbf8fd996b6651edcbb2235bbc6fae307a3638611 (diff)
Rename global_mutex_shards to global_mutexes
Diffstat (limited to 'libbuild2/variable.txx')
-rw-r--r--libbuild2/variable.txx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/variable.txx b/libbuild2/variable.txx
index ed25cb6..041dc94 100644
--- a/libbuild2/variable.txx
+++ b/libbuild2/variable.txx
@@ -614,8 +614,8 @@ namespace build2
: 0);
shared_mutex& m (
- ctx.mutex_shards.variable_cache[
- hash<variable_cache*> () (this) % ctx.mutex_shards.variable_cache_size]);
+ ctx.mutexes.variable_cache[
+ hash<variable_cache*> () (this) % ctx.mutexes.variable_cache_size]);
slock sl (m);
ulock ul (m, defer_lock);