Function keos::thread::with_current
source · pub fn with_current<R>(f: impl FnOnce(&mut Thread) -> R) -> RExpand description
Run a function f with current thread as an argument.
pub fn with_current<R>(f: impl FnOnce(&mut Thread) -> R) -> RRun a function f with current thread as an argument.