You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default stack size for spawned threads is 2 MiB, though this particular stack size is subject to change in the future.
This is not correct, because it implies this is true for all platforms, but each platform sets their own default stack size. Even amongst unices, 2mib isn't always the case.
Location
https://doc.rust-lang.org/std/thread/#stack-size
Summary
This says
This is not correct, because it implies this is true for all platforms, but each platform sets their own default stack size. Even amongst unices, 2mib isn't always the case.
rust/library/std/src/sys/unix/thread.rs
Lines 14 to 21 in 02cd79a
The text was updated successfully, but these errors were encountered: