4 releases (stable)
Uses old Rust 2015
1.0.2 | Jun 16, 2017 |
---|---|
1.0.1 | Aug 16, 2015 |
1.0.0 | Jul 22, 2015 |
0.0.1 | Jul 21, 2015 |
#45 in #scoped
35,573 downloads per month
Used in 38 crates
(5 directly)
6KB
107 lines
thread-scoped
A std::thread::spawn()
that can access its current scope.
Stable fork of the deprecated std::thread::scoped()
Memory Unsafety
This interface is inherently unsafe if the JoinGuard
is allowed to leak without being dropped.
See rust-lang/rust#24292 for more details.
Alternatives
This crate is only provided as a fallback mirror for legacy dependency on the
deprecated libstd
interface. Using a modern and safe API instead is recommended: