with_thread_local

Macro with_thread_local 

Source
macro_rules! with_thread_local {
    (
        $(
        static $name:ident : $ty:ty = $init:expr;
        )+

        $block:block
    ) => { ... };
    (
        $(
        static $name:ident : $ty:ty = $init:expr;
        )+

        move $block:block
    ) => { ... };
}