From a77a968800ba36cb04fb58c73e768f5ec137b45c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 13 May 2021 08:44:49 +0200 Subject: Don't both mark the scheduler queue and enter sub-phase --- libbuild2/adhoc-rule-cxx.cxx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'libbuild2/adhoc-rule-cxx.cxx') diff --git a/libbuild2/adhoc-rule-cxx.cxx b/libbuild2/adhoc-rule-cxx.cxx index 1066f0a..ed87cbd 100644 --- a/libbuild2/adhoc-rule-cxx.cxx +++ b/libbuild2/adhoc-rule-cxx.cxx @@ -292,20 +292,12 @@ namespace build2 } // Clear current project's environment and "switch" to the module - // context. + // context, including entering a scheduler sub-phase. // auto_thread_env penv (nullptr); context& ctx (*t.ctx.module_context); - - // Enter a scheduler sub-phase. - // scheduler::phase_guard pg (ctx.sched); - // Mark the queue so that we don't work any tasks that may already be - // there. - // - scheduler::queue_mark qm (ctx.sched); - const uint16_t verbosity (3); // Project creation command verbosity. // Project and location signatures. -- cgit v1.1