diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-01-31 10:10:11 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:42:41 +0200 |
commit | b9262da995ed8f9529496e422c6c0344730b3707 (patch) | |
tree | 0f17b80a2d8fe30af33e2cb82aa04cb677041691 | |
parent | f519c44792429ce52cfab09898701bff9c202770 (diff) |
Fix bug in scheduler::tune()
-rw-r--r-- | build2/scheduler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/scheduler.cxx b/build2/scheduler.cxx index 9abafbb..da49ffd 100644 --- a/build2/scheduler.cxx +++ b/build2/scheduler.cxx @@ -217,7 +217,7 @@ namespace build2 { lock l (mutex_); - if (max_active) + if (max_active == 0) max_active = orig_max_active_; assert (max_active >= init_active_ && |