kmc-solid: Increase the default stack size

This commit is contained in:
Tomoaki Kawada 2022-01-31 17:39:38 +09:00
parent 08df8b81d6
commit 1a77d6227c

View File

@ -77,7 +77,8 @@ unsafe impl Sync for ThreadInner {}
const LIFECYCLE_EXITED_OR_FINISHED_OR_JOIN_FINALIZE: usize = usize::MAX;
// there's no single value for `JOINING`
pub const DEFAULT_MIN_STACK_SIZE: usize = 1024 * crate::mem::size_of::<usize>();
// 64KiB for 32-bit ISAs, 128KiB for 64-bit ISAs.
pub const DEFAULT_MIN_STACK_SIZE: usize = 0x4000 * crate::mem::size_of::<usize>();
impl Thread {
/// # Safety