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]
This commit is contained in:
commit
24fc50d295
1 changed files with 5 additions and 5 deletions
|
@ -10,11 +10,11 @@
|
||||||
|
|
||||||
//! Abstraction of a thread pool for basic parallelism.
|
//! Abstraction of a thread pool for basic parallelism.
|
||||||
|
|
||||||
#![unstable(feature = "std_misc",
|
#![deprecated(since = "1.0.0",
|
||||||
reason = "the semantics of a failing task and whether a thread is \
|
reason = "This kind of API needs some time to bake in \
|
||||||
re-attached to a thread pool are somewhat unclear, and the \
|
crates.io. This functionality is available through \
|
||||||
utility of this type in `std::sync` is questionable with \
|
https://crates.io/crates/threadpool")]
|
||||||
respect to the jobs of other primitives")]
|
#![unstable(feature = "std_misc")]
|
||||||
|
|
||||||
use core::prelude::*;
|
use core::prelude::*;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue