]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/sys/redox/thread.rs
Move default stack min size to thread implementations
[rust.git] / src / libstd / sys / redox / thread.rs
index b2c0e285f0663b2d856a06ef415ac87624696ecb..c4aad8d86f8b1f5e4b6fba452c4eb64e9476cf6d 100644 (file)
@@ -16,6 +16,8 @@
 use sys::{cvt, syscall};
 use time::Duration;
 
+pub const DEFAULT_MIN_STACK_SIZE: usize = 2 * 1024 * 1024;
+
 pub struct Thread {
     id: usize,
 }