aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/scheduler.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-01-13 12:48:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-01-13 12:48:42 +0200
commitf91dcce80beb48bf8b444b472f4820a4ff2b33e5 (patch)
tree20a81c7a939ae09a7a3fb1db7d34cbe62537acf8 /libbuild2/scheduler.txx
parente21f9ae1a3e36160259a449e06ff52692e58b28c (diff)
Make sure we don't work any existing tasks when building in module context
Diffstat (limited to 'libbuild2/scheduler.txx')
-rw-r--r--libbuild2/scheduler.txx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/scheduler.txx b/libbuild2/scheduler.txx
index 7742521..9cfc411 100644
--- a/libbuild2/scheduler.txx
+++ b/libbuild2/scheduler.txx
@@ -77,8 +77,8 @@ namespace build2
tq->stat_full++;
// We have to perform the same mark adjust/restore as in pop_back()
- // since the task we are about to execute synchronously may try to
- // work the queue.
+ // (and in queue_mark) since the task we are about to execute
+ // synchronously may try to work the queue.
//
// It would have been cleaner to package all this logic into push()
// but that would require dragging function/argument types into it.