From 145589cf2b524b59a8ffa950882d3433e2885b7c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 9 Mar 2022 11:13:05 +0200 Subject: Rename execute_wait() to execute() The old half-way semantics of execute() wasn't useful. --- libbuild2/algorithm.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libbuild2/algorithm.cxx') 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 (), -- cgit v1.1