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 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'build2/b-options') diff --git a/build2/b-options b/build2/b-options index c692cae..e674798 100644 --- a/build2/b-options +++ b/build2/b-options @@ -422,6 +422,12 @@ namespace build2 bool max_jobs_specified () const; + const size_t& + queue_depth () const; + + bool + queue_depth_specified () const; + const bool& serial_stop () const; @@ -495,6 +501,8 @@ namespace build2 bool jobs_specified_; size_t max_jobs_; bool max_jobs_specified_; + size_t queue_depth_; + bool queue_depth_specified_; bool serial_stop_; bool no_column_; bool no_line_; -- cgit v1.1