From b5960ebbe7236eef62620b0a07df8de93dffc81e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 17 Mar 2017 16:57:49 +0200 Subject: Shorten scheduler queue depth, make it customizable via command line --- build2/b-options.ixx | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'build2/b-options.ixx') 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 { -- cgit v1.1