pub fn with_current_thread<F, T>(&self, f: F) -> T
    where
        F: FnOnce(&Thread) -> T,
    {
        with_thread(self.current_thread_id.load(Ordering::Acquire), f)
    }
/// Execute something with the current thread reference.
Execute something with the current thread reference.
Execute something with the current thread reference .
pub fn with_current_thread<F, T>(&self, f: F) -> T
    where
        F: FnOnce(&Thread) -> T,
    {
        with_thread(self.current_thread_id.load(Ordering::Acquire), f)
    }
pub fn with_current_thread < F , T > ( & self , f : F ) -> T where F : FnOnce ( & Thread ) -> T , { with_thread ( self . current_thread_id . load ( Ordering :: Acquire ) , f ) }
Execute something with the current thread reference.
Execute something with the current thread reference .
&self
f
F
&self
f
F