1
Fork 0
This commit is contained in:
Hiroki Noda 2020-01-30 10:31:12 +09:00
parent 50ed6cbf98
commit c870ca6217

View file

@ -426,8 +426,8 @@ pub mod guard {
}
// glibc >= 2.15 has a __pthread_get_minstack() function that returns
// PTHREAD_STACK_MIN plus how many bytes are needed for thread-local
// storage. We need that information to avoid blowing up when a small stack
// PTHREAD_STACK_MIN plus bytes needed for thread-local storage.
// We need that information to avoid blowing up when a small stack
// is created in an application with big thread-local storage requirements.
// See #6233 for rationale and details.
#[cfg(target_os = "linux")]