aboutsummaryrefslogtreecommitdiff
path: root/build2/b-options.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-03-17 16:57:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-17 16:57:49 +0200
commitb5960ebbe7236eef62620b0a07df8de93dffc81e (patch)
treec95f4f54ca67a9886211d2c27b0a2a2fef5012e6 /build2/b-options.ixx
parentfdb3931c1948fbf9d56c98165f411aa5abf1b02d (diff)
Shorten scheduler queue depth, make it customizable via command line
Diffstat (limited to 'build2/b-options.ixx')
-rw-r--r--build2/b-options.ixx12
1 files changed, 12 insertions, 0 deletions
diff --git a/build2/b-options.ixx b/build2/b-options.ixx
index c230f7c..6c49ede 100644
--- a/build2/b-options.ixx
+++ b/build2/b-options.ixx
@@ -270,6 +270,18 @@ namespace build2
return this->max_jobs_specified_;
}
+ inline const size_t& options::
+ queue_depth () const
+ {
+ return this->queue_depth_;
+ }
+
+ inline bool options::
+ queue_depth_specified () const
+ {
+ return this->queue_depth_specified_;
+ }
+
inline const bool& options::
serial_stop () const
{