thread-scoped

Crates.iothread-scoped
lib.rsthread-scoped
version1.0.2
sourcesrc
created_at2015-07-21 07:55:51.382851
updated_at2017-06-16 17:21:48.672999
descriptionUnsafe and deprecated std::thread::scoped
homepage
repositoryhttps://github.com/arcnmx/thread-scoped-rs
max_upload_size
id2645
size8,277
(arcnmx)

documentation

http://arcnmx.github.io/thread-scoped-rs/thread_scoped/

README

thread-scoped

travis-badge release-badge docs-badge license-badge

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:

Commit count: 14

cargo fmt