提交 24fc50d2 编写于 作者: M Manish Goregaokar

Rollup merge of #22783 - alexcrichton:deprecate-taskpool, r=alexcrichton

 Rather than stabilize on the current API, we're going to punt this
concern to crates.io, to allow for faster iteration.

[breaking-change]
......@@ -10,11 +10,11 @@
//! Abstraction of a thread pool for basic parallelism.
#![unstable(feature = "std_misc",
reason = "the semantics of a failing task and whether a thread is \
re-attached to a thread pool are somewhat unclear, and the \
utility of this type in `std::sync` is questionable with \
respect to the jobs of other primitives")]
#![deprecated(since = "1.0.0",
reason = "This kind of API needs some time to bake in \
crates.io. This functionality is available through \
https://crates.io/crates/threadpool")]
#![unstable(feature = "std_misc")]
use core::prelude::*;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册