avila_parallel/scope.rs
1//! Scoped thread spawning - wrapper around std::thread::scope
2
3/// A scope for spawning threads (re-export of std::thread::Scope)
4pub type Scope<'scope, 'env> = std::thread::Scope<'scope, 'env>;
5
6/// A handle to a scoped thread (re-export of std::thread::ScopedJoinHandle)
7pub type ScopedJoinHandle<'scope, T> = std::thread::ScopedJoinHandle<'scope, T>;
8
9// Re-export std::thread::scope directly
10pub use std::thread::scope;