diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-03-09 11:13:05 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-03-09 11:13:05 +0200 |
commit | 145589cf2b524b59a8ffa950882d3433e2885b7c (patch) | |
tree | f3db3dee01d39e72f7033171c34d1fe7403da490 /libbuild2/algorithm.cxx | |
parent | 2e6c3bf33ab1cd75b9936e65568a39571f279fc3 (diff) |
Rename execute_wait() to execute()
The old half-way semantics of execute() wasn't useful.
Diffstat (limited to 'libbuild2/algorithm.cxx')
-rw-r--r-- | libbuild2/algorithm.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libbuild2/algorithm.cxx b/libbuild2/algorithm.cxx index c101117..64d4689 100644 --- a/libbuild2/algorithm.cxx +++ b/libbuild2/algorithm.cxx @@ -2510,7 +2510,10 @@ namespace build2 // const target& g (*t.group); - target_state gs (execute (a, g)); + // This is execute(a, t, false) but that saves a call to executed_state() + // (which we don't need). + // + target_state gs (execute (a, g, 0, nullptr)); if (gs == target_state::busy) ctx.sched.wait (ctx.count_executed (), |