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 --- libbuild2/context.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbuild2/context.cxx') diff --git a/libbuild2/context.cxx b/libbuild2/context.cxx index cc0eb0b..23942a8 100644 --- a/libbuild2/context.cxx +++ b/libbuild2/context.cxx @@ -56,12 +56,14 @@ namespace build2 context:: context (scheduler& s, + global_mutex_shards& ms, bool dr, bool kg, const strings& cmd_vars, optional mc) : data_ (new data (*this)), sched (s), + mutex_shards (ms), dry_run_option (dr), keep_going (kg), phase_mutex (*this), -- cgit v1.1