diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-20 11:09:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-20 11:09:26 +0200 |
commit | 6fd981a2a5b41e38f4b2e8f5798b431e4cdcf19b (patch) | |
tree | b538f817bf9731701f24a27b2b9a5a9bd206910f /build2/scheduler.txx | |
parent | 29f6e38b4f8d55f3da61fcd061c8b8ff3c5eaa00 (diff) |
Initial work on deadlock detection support
Fun fact: In a serial build system a dependency cycle leads to an infinite
loop/recursion. In a parallel -- to a deadlock. Still think build systems
are fun?
Diffstat (limited to 'build2/scheduler.txx')
-rw-r--r-- | build2/scheduler.txx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/scheduler.txx b/build2/scheduler.txx index dd98b4a..37dd320 100644 --- a/build2/scheduler.txx +++ b/build2/scheduler.txx @@ -105,7 +105,7 @@ namespace build2 } // If there is a spare active thread, wake up (or create) the helper - // (unless someone already snatched it). + // (unless someone already snatched the task). // if (queued_task_count_.load (std::memory_order_consume) != 0) { |