aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/algorithm.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-11-01 11:50:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-11-01 11:50:08 +0200
commitd0d4486702b045852dca36008746afeb8754ae85 (patch)
treeb4f3930c8a64b4650a183c59257a43adc854da46 /libbuild2/algorithm.ixx
parent736c9f08b68b2735d85fe7eefdf2118de8b8c34e (diff)
Tighten/optimize cleaning of fsdir{} during match
Diffstat (limited to 'libbuild2/algorithm.ixx')
-rw-r--r--libbuild2/algorithm.ixx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/algorithm.ixx b/libbuild2/algorithm.ixx
index 09fc6d9..bae9151 100644
--- a/libbuild2/algorithm.ixx
+++ b/libbuild2/algorithm.ixx
@@ -482,7 +482,7 @@ namespace build2
// cannot change their mind).
//
if ((s == target_state::unchanged && t.group == nullptr) ||
- t[a].dependents.load (memory_order_consume) != 0)
+ t[a].dependents.load (memory_order_relaxed) != 0)
return make_pair (true, s);
break;