From b47a323f09f1f9ccece03ca4d84dbe7a47ff8177 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 22 Oct 2019 10:02:23 +0200 Subject: Move global mutex shards to context --- tests/libbuild2/driver.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/libbuild2/driver.cxx b/tests/libbuild2/driver.cxx index a14d145..26c00d6 100644 --- a/tests/libbuild2/driver.cxx +++ b/tests/libbuild2/driver.cxx @@ -34,8 +34,11 @@ main (int, char* argv[]) in::build2_in_load (); bash::build2_bash_load (); - scheduler sched (1); // Serial execution. - context ctx (sched); + // Serial execution. + // + scheduler sched (1); + global_mutex_shards shards (1); + context ctx (sched, shards); return 0; } -- cgit v1.1