aboutsummaryrefslogtreecommitdiff
path: root/build2/target.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-01-30 12:44:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-02-13 12:42:41 +0200
commit1f543f6eb368c3b23aa1f9cd2d23f0dba1456dec (patch)
treea3c1b756c2cc27fac0ac392ce8d108e147b23840 /build2/target.cxx
parentb262d2c9c56eed18d043dccefac02b54a6ae2f95 (diff)
Add notion of load phase generation
Diffstat (limited to 'build2/target.cxx')
-rw-r--r--build2/target.cxx2
1 files changed, 1 insertions, 1 deletions
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<scope&, scope*> sp (switch_scope (*s.root_scope (), out_base));