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 --- build2/b.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build2') 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 (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 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)); -- cgit v1.1