std::thread_local! [] [src]

macro_rules! thread_local {
    (static $name:ident: $t:ty = $init:expr) => { ... };
    (pub static $name:ident: $t:ty = $init:expr) => { ... };
}
1.0.0

Declare a new thread local storage key of type std::thread::LocalKey.

See LocalKey documentation for more information.