From f91dcce80beb48bf8b444b472f4820a4ff2b33e5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 13 Jan 2021 12:48:42 +0200 Subject: Make sure we don't work any existing tasks when building in module context --- libbuild2/scheduler.txx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/scheduler.txx') 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. -- cgit v1.1