From 1f543f6eb368c3b23aa1f9cd2d23f0dba1456dec Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 30 Jan 2017 12:44:15 +0200 Subject: Add notion of load phase generation --- build2/target.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/target.cxx') diff --git a/build2/target.cxx b/build2/target.cxx index 24bd246..f04e26f 100644 --- a/build2/target.cxx +++ b/build2/target.cxx @@ -630,7 +630,7 @@ namespace build2 { // Relock for exclusive access and change to the load phase. // - rlock rl (model_lock); + model_rlock rl; phase_guard pg (run_phase::load); pair sp (switch_scope (*s.root_scope (), out_base)); -- cgit v1.1