Function thread_scoped::scoped
[−]
[src]
pub unsafe fn scoped<'a, T, F>(f: F) -> JoinGuard<'a, T> where
T: Send + 'a,
F: FnOnce() -> T,
F: Send + 'a,
Spawns a new scoped thread