mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
@@ -426,8 +426,8 @@ pub unsafe fn current() -> Option<Guard> {
|
||||
}
|
||||
|
||||
// glibc >= 2.15 has a __pthread_get_minstack() function that returns
|
||||
// PTHREAD_STACK_MIN plus however 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")]
|
||||
|
||||
Reference in New Issue
Block a user