From a17b6b40510b8ec5ca18dd5203e4b229aa6fee8a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 25 Jun 2020 09:00:12 +0200 Subject: Add more instrumentation for unassigned path race --- libbuild2/algorithm.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libbuild2/algorithm.hxx') diff --git a/libbuild2/algorithm.hxx b/libbuild2/algorithm.hxx index de09469..33bc624 100644 --- a/libbuild2/algorithm.hxx +++ b/libbuild2/algorithm.hxx @@ -287,8 +287,8 @@ namespace build2 // If it is unmatch::unchanged then only unmatch the target if it is known // to be unchanged after match. If it is unmatch::safe, then unmatch the // target if it is safe (this includes unchanged or if we know that someone - // else will execute this target). Return true if unmatch succeeded. Always - // throw if failed. + // else will execute this target). Return true in first half of the pair if + // unmatch succeeded. Always throw if failed. // enum class unmatch {none, unchanged, safe}; @@ -298,7 +298,7 @@ namespace build2 pair try_match (action, const target&, bool fail = true); - bool + pair match (action, const target&, unmatch); // Start asynchronous match. Return target_state::postponed if the @@ -337,7 +337,7 @@ namespace build2 target_state match_inner (action, const target&); - bool + pair match_inner (action, const target&, unmatch); // The standard prerequisite search and match implementations. They call -- cgit v1.1