diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-04-13 13:14:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-04-13 13:14:35 +0200 |
commit | e9a3804c2ea5972dd84a7d4759d4ea965c2490fb (patch) | |
tree | 89f6eeaf50486213f8de898d55fefeea080e54f2 /libbuild2/scheduler.hxx | |
parent | 1308eb0d740a687161641d52dabad8c0f849db08 (diff) |
Various minor generalizations for in-process configure support in bpkg
Diffstat (limited to 'libbuild2/scheduler.hxx')
-rw-r--r-- | libbuild2/scheduler.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/scheduler.hxx b/libbuild2/scheduler.hxx index b579d80..dcddfcc 100644 --- a/libbuild2/scheduler.hxx +++ b/libbuild2/scheduler.hxx @@ -358,6 +358,9 @@ namespace build2 size_t tune (size_t max_active); + bool + tuned () const {return max_active_ != orig_max_active_;} + struct tune_guard { tune_guard (): s_ (nullptr), o_ (0) {} |