diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-16 11:30:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-16 11:30:41 +0200 |
commit | 63d1d6f8f4bb6db482b21e728245ebf9eee6b55f (patch) | |
tree | 61f1b519a447fd2b96c877bfced4b9fc8363824e /build2/target.hxx | |
parent | ef12b3bf80e2eec3fcfd36cceee02f357a992039 (diff) |
Fix group link-up race
Diffstat (limited to 'build2/target.hxx')
-rw-r--r-- | build2/target.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build2/target.hxx b/build2/target.hxx index 23213a2..e783ee4 100644 --- a/build2/target.hxx +++ b/build2/target.hxx @@ -252,8 +252,8 @@ namespace build2 } public: - // You should not call this function directly; rather use - // resolve_group_members() from <build2/algorithm.hxx>. + // Normally you should not call this function directly and rather use + // resolve_members() from algorithm.hxx. // virtual group_view group_members (action) const; @@ -697,6 +697,9 @@ namespace build2 // also be traversed in reverse, but that's what you usually want, // anyway. // + // Note that you either should be iterating over a locked target (e.g., in + // rule's match() or apply()) or you should call resolve_group(). + // class group_prerequisites { public: |