aboutsummaryrefslogtreecommitdiff
path: root/build2
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 /build2
parentbf8fd996b6651edcbb2235bbc6fae307a3638611 (diff)
Rename global_mutex_shards to global_mutexes
Diffstat (limited to 'build2')
-rw-r--r--build2/b.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/b.cxx b/build2/b.cxx
index 0183e0f..f2b7674 100644
--- a/build2/b.cxx
+++ b/build2/b.cxx
@@ -564,7 +564,7 @@ main (int argc, char* argv[])
? optional<size_t> (ops.max_stack () * 1024)
: nullopt));
- global_mutex_shards mutex_shards (sched.shard_size ());
+ global_mutexes mutexes (sched.shard_size ());
// Trace some overall environment information.
//
@@ -584,11 +584,11 @@ main (int argc, char* argv[])
// below).
//
unique_ptr<context> ctx;
- auto new_context = [&ctx, &sched, &mutex_shards, &cmd_vars]
+ auto new_context = [&ctx, &sched, &mutexes, &cmd_vars]
{
ctx = nullptr; // Free first.
ctx.reset (new context (sched,
- mutex_shards,
+ mutexes,
ops.dry_run (),
!ops.serial_stop () /* keep_going */,
cmd_vars));