aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/context.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/context.cxx')
-rw-r--r--libbuild2/context.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbuild2/context.cxx b/libbuild2/context.cxx
index d56abb3..d1bfc33 100644
--- a/libbuild2/context.cxx
+++ b/libbuild2/context.cxx
@@ -62,11 +62,11 @@ namespace build2
}
else if (phase != p)
{
- sched.deactivate ();
+ sched.deactivate (false /* external */);
for (; phase != p; v->wait (l)) ;
r = !fail_;
l.unlock (); // Important: activate() can block.
- sched.activate ();
+ sched.activate (false /* external */);
}
else
r = !fail_;
@@ -175,11 +175,11 @@ namespace build2
}
else // phase != n
{
- sched.deactivate ();
+ sched.deactivate (false /* external */);
for (; phase != n; v->wait (l)) ;
r = !fail_;
l.unlock (); // Important: activate() can block.
- sched.activate ();
+ sched.activate (false /* external */);
}
}