From 6fd981a2a5b41e38f4b2e8f5798b431e4cdcf19b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 20 Feb 2018 11:09:26 +0200 Subject: 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? --- build2/scheduler.txx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/scheduler.txx') 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) { -- cgit v1.1