diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-25 10:27:11 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-25 10:27:11 +0530 |
| commit | 24fc50d29545e7ea89320d3c9544cd9043894d7d (patch) | |
| tree | d9e8693c9da8b90c04283a658e64a81fd6850a86 | |
| parent | 9692f3bc941795dafac998294cc4e50e78efb4b5 (diff) | |
| parent | 27f8708ba4aac3f4f2d3074b7b4a451774b1a813 (diff) | |
| download | rust-24fc50d29545e7ea89320d3c9544cd9043894d7d.tar.gz rust-24fc50d29545e7ea89320d3c9544cd9043894d7d.zip | |
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]
| -rw-r--r-- | src/libstd/sync/task_pool.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libstd/sync/task_pool.rs b/src/libstd/sync/task_pool.rs index 31f3dfd877c..e01f8145283 100644 --- a/src/libstd/sync/task_pool.rs +++ b/src/libstd/sync/task_pool.rs @@ -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::*; |
