Alex Crichton 5759cff48e 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.
2014-12-18 23:35:52 -08:00
..
2014-12-13 17:03:46 -05:00
2014-12-18 23:31:34 -08:00
2014-12-18 16:20:32 -05:00
2014-12-18 16:20:32 -05:00
2014-12-11 15:33:27 -07:00