std::thread_local!
[−]
[src]
macro_rules! thread_local { (static $name:ident: $t:ty = $init:expr) => { ... }; (pub static $name:ident: $t:ty = $init:expr) => { ... }; }
Declare a new thread local storage key of type std::thread::LocalKey
.
See LocalKey documentation for more information.