about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-17 14:37:38 -0800
committerAaron Turon <aturon@mozilla.com>2014-12-18 23:35:52 -0800
commit5759cff48e66bcf2bf2cf821211bdf683292d8f3 (patch)
tree4532178a8794666d1d62300b42981a9ccdf3a49d /src/libstd/sys/unix/stack_overflow.rs
parenta27fbac86849e07a0a6c746869d8f78319bd3a16 (diff)
downloadrust-5759cff48e66bcf2bf2cf821211bdf683292d8f3.tar.gz
rust-5759cff48e66bcf2bf2cf821211bdf683292d8f3.zip
std: Lower abstractions for thread_local/at_exit
The current implementations use `std::sync` primitives, but these primitives
currently end up relying on `thread_info` and a local `Thread` being available
(mainly for checking the panicking flag).

To get around this, this commit lowers the abstractions used by the windows
thread_local implementation as well as the at_exit_imp module. Both of these
modules now use a `sys::Mutex` and a `static mut` and manage the
allocation/locking manually.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions