aboutsummaryrefslogtreecommitdiff
path: root/build2/b-options.ixx
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.ixx
parentf5bc31da2a84b81fef5da8a59da66a2386adbea6 (diff)
Add default capping of stack size for all POSIX platforms, --max-stack
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 ef304d3..7a6f33e 100644
--- a/build2/b-options.ixx
+++ b/build2/b-options.ixx
@@ -294,6 +294,18 @@ namespace build2
return this->queue_depth_specified_;
}
+ inline const size_t& options::
+ max_stack () const
+ {
+ return this->max_stack_;
+ }
+
+ inline bool options::
+ max_stack_specified () const
+ {
+ return this->max_stack_specified_;
+ }
+
inline const bool& options::
serial_stop () const
{