Constant exonum_profiler::THREAD_FRAME
[−]
pub const THREAD_FRAME: LocalKey<RefCell<ThreadFrame>>=
{ #[inline] fn __init() -> RefCell<ThreadFrame> { <RefCell>::new(<ThreadFrame>::new()) } unsafe fn __getit() -> ::option::Option<&'static ::cell::UnsafeCell<::option::Option<RefCell<ThreadFrame>>>> { #[thread_local] #[cfg(target_thread_local)] static __KEY: ::thread::__FastLocalKeyInner<RefCell<ThreadFrame>> = <::thread::__FastLocalKeyInner>::new(); __KEY.get() } unsafe { <::thread::LocalKey>::new(__getit, __init) } }