Skip to content

Commit efd2a17

Browse files
committed
Deprecate std::sync::TaskPool
Rather than stabilize on the current API, we're going to punt this concern to crates.io, to allow for faster iteration. If you need this functionality, you might look at https://github.com/carllerche/syncbox [breaking-change]
1 parent 81bce52 commit efd2a17

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. Consider trying \
16+
https://github.com/carllerche/syncbox")]
17+
#![unstable(feature = "std_misc")]
1818

1919
use core::prelude::*;
2020

0 commit comments

Comments
 (0)