aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.hxx
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.hxx
parentbf8fd996b6651edcbb2235bbc6fae307a3638611 (diff)
Rename global_mutex_shards to global_mutexes
Diffstat (limited to 'libbuild2/variable.hxx')
-rw-r--r--libbuild2/variable.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/libbuild2/variable.hxx b/libbuild2/variable.hxx
index 29b8200..51cdf49 100644
--- a/libbuild2/variable.hxx
+++ b/libbuild2/variable.hxx
@@ -1468,10 +1468,9 @@ namespace build2
// the references remain valid).
//
// Note that since the cache can be modified on any lookup (including during
- // the execute phase), it is protected by its own mutex shard (see
- // global_mutex_shards in context). This shard is also used for value
- // typification (which is kind of like caching) during concurrent execution
- // phases.
+ // the execute phase), it is protected by its own mutex shard (see mutexes
+ // in context). This shard is also used for value typification (which is
+ // kind of like caching) during concurrent execution phases.
//
template <typename K>
class variable_cache