aboutsummaryrefslogtreecommitdiff
path: root/build2/b-options.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-02-12 18:34:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-02-12 18:34:31 +0200
commit5d615c7ae1761d1511e01d0b4bea4920fda190a7 (patch)
tree4eb34289cc59ed54765ea6ad6323617944efc2d0 /build2/b-options.hxx
parentf5bc31da2a84b81fef5da8a59da66a2386adbea6 (diff)
Add default capping of stack size for all POSIX platforms, --max-stack
Diffstat (limited to 'build2/b-options.hxx')
-rw-r--r--build2/b-options.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/build2/b-options.hxx b/build2/b-options.hxx
index b6edae8..12a029c 100644
--- a/build2/b-options.hxx
+++ b/build2/b-options.hxx
@@ -434,6 +434,12 @@ namespace build2
bool
queue_depth_specified () const;
+ const size_t&
+ max_stack () const;
+
+ bool
+ max_stack_specified () const;
+
const bool&
serial_stop () const;
@@ -517,6 +523,8 @@ namespace build2
bool max_jobs_specified_;
size_t queue_depth_;
bool queue_depth_specified_;
+ size_t max_stack_;
+ bool max_stack_specified_;
bool serial_stop_;
bool structured_result_;
bool match_only_;