about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-11-06 04:29:11 +0000
committerbors <bors@rust-lang.org>2015-11-06 04:29:11 +0000
commit7512808ac94cffd385a83d0bc6fc76d37a411879 (patch)
tree5bfa3e1cbc9721746e9923a6f21b7b10df33fce5 /src/libstd/sys/unix/stack_overflow.rs
parentd53496bda9ed1a5a8e736279527eb9e0bd23ac12 (diff)
parent858865478358c627f0485f3aef17ffb8bcfee612 (diff)
downloadrust-7512808ac94cffd385a83d0bc6fc76d37a411879.tar.gz
rust-7512808ac94cffd385a83d0bc6fc76d37a411879.zip
Auto merge of #29491 - alexcrichton:avoid-stdio-tls, r=brson
Currently if a print happens while a thread is being torn down it may cause a
panic if the LOCAL_STDOUT TLS slot has been destroyed by that point. This adds a
guard to check and prints to the process stdout if that's the case (as we do for
if the slot is already borrowed).

Closes #29488
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions