From 6d700e3601a3469981995fd364d1a1ff7f158e5e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 23 Oct 2019 12:21:08 +0200 Subject: Un-tune scheduler when building build system modules --- libbuild2/context.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libbuild2/context.hxx') diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx index 0a2deea..e720321 100644 --- a/libbuild2/context.hxx +++ b/libbuild2/context.hxx @@ -131,6 +131,9 @@ namespace build2 // future we can do save/restore but then we would need some indication that // we have switched to another task). // + // Note that sharing the same scheduler between multiple top-level contexts + // can currently be problematic due to operation-specific scheduler tuning. + // // The loaded_modules state (module.hxx) is shared among all the contexts // (there is no way to have multiple shared library loading "contexts") and // is protected by loaded_modules_lock. A nested context should normally -- cgit v1.1