Skip to content

Commit 68fe2f4

Browse files
committed
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]
2 parents 3fad4f9 + 81065e4 commit 68fe2f4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/libstd/sync/task_pool.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010

1111
//! Abstraction of a thread pool for basic parallelism.
1212
13-
#![unstable(feature = "std_misc",
14-
reason = "the semantics of a failing task and whether a thread is \
15-
re-attached to a thread pool are somewhat unclear, and the \
16-
utility of this type in `std::sync` is questionable with \
17-
respect to the jobs of other primitives")]
13+
#![deprecated(since = "1.0.0",
14+
reason = "This kind of API needs some time to bake in \
15+
crates.io. This functionality is available through \
16+
https://crates.io/crates/threadpool")]
17+
#![unstable(feature = "std_misc")]
1818

1919
use core::prelude::*;
2020

0 commit comments

Comments
 (0)