aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/algorithm.cxx')
-rw-r--r--build2/algorithm.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx
index 0dca9cc..658a6cd 100644
--- a/build2/algorithm.cxx
+++ b/build2/algorithm.cxx
@@ -126,12 +126,12 @@ namespace build2
// Wait for the count to drop below busy if someone is already working
// on this target.
//
- // We also unlock the phase for the duration of the wait. Why? Consider
- // this scenario: we are trying to match a dir{} target whose buildfile
- // still needs to be loaded. Let's say someone else started the match
- // before us. So we wait for their completion and they wait to switch
- // the phase to load. Which would result in a deadlock unless we release
- // the phase.
+ // We also unlock the phase for the duration of the wait. Why?
+ // Consider this scenario: we are trying to match a dir{} target whose
+ // buildfile still needs to be loaded. Let's say someone else started
+ // the match before us. So we wait for their completion and they wait
+ // to switch the phase to load. Which would result in a deadlock
+ // unless we release the phase.
//
if (e >= busy)
{