rust-lang/rfcs — pull request #461 by alexcrichton (2014-11-11 19:06:00+00:00)
Title: RFC: Add a thread local storage module, std::tls

Introduce a new thread local storage module to the standard library, `std::tls`,
providing:

* Scoped TLS, a non-owning variant of TLS for any value.
* Owning TLS, an owning, dynamically initialized, dynamically destructed
variant, similar to `std::local_data` today.