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-07-12 23:37:12 +0000
committerbors <bors@rust-lang.org>2015-07-12 23:37:12 +0000
commite1ac57de677acf3275f4d56ce18438806fe9c134 (patch)
treef23d91b490cd389bdd9db255a62dbb6a61153b8f /src/libstd/sys/unix/stack_overflow.rs
parent05d8767289351a6111c77a5dfa8ba35468f721f6 (diff)
parent987dc84b521a9be98099b504aa91b7baa9d22409 (diff)
downloadrust-e1ac57de677acf3275f4d56ce18438806fe9c134.tar.gz
rust-e1ac57de677acf3275f4d56ce18438806fe9c134.zip
Auto merge of #26958 - alexcrichton:down-with-thread-dtors, r=brson
TLS tests have been deadlocking on the OSX bots for quite some time now and this
commit is the result of the investigation into what's going on. It turns out
that a value in TLS which is being destroyed (e.g. the destructor is run) can be
reset back to the initial state **while the destructor is running** if TLS is
re-accessed.

To fix this we stop calling drop_in_place on OSX and instead move the data to a
temporary location on the stack.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions