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