aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-02-16 11:30:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-02-16 11:30:41 +0200
commit63d1d6f8f4bb6db482b21e728245ebf9eee6b55f (patch)
tree61f1b519a447fd2b96c877bfced4b9fc8363824e /build2/algorithm.cxx
parentef12b3bf80e2eec3fcfd36cceee02f357a992039 (diff)
Fix group link-up race
Diffstat (limited to 'build2/algorithm.cxx')
-rw-r--r--build2/algorithm.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx
index 1c5b6a6..38693bc 100644
--- a/build2/algorithm.cxx
+++ b/build2/algorithm.cxx
@@ -554,7 +554,7 @@ namespace build2
}
group_view
- resolve_group_members_impl (action a, const target& g, target_lock l)
+ resolve_members_impl (action a, const target& g, target_lock l)
{
// Note that we will be unlocked if the target is already applied.
//
@@ -625,6 +625,12 @@ namespace build2
return r;
}
+ void
+ resolve_group_impl (action, const target&, target_lock l)
+ {
+ match_impl (l, true /* step */, true /* try_match */);
+ }
+
template <typename R>
static void
match_prerequisite_range (action a, target& t, R&& r, const scope* s)