PackageTrack
Sign in Get early access

tokio-threadpool

A task scheduler backed by a work-stealing thread pool.

0.1.18 22M downloads/mo #1984 most downloaded on crates.io tokio-rs/tokio

What this package is like to depend on

Last release 7 years ago

no release in 18 months

Ships fairly regularly

a new release about every 5 weeks

Nearly every release is documented

notes for 19 of 20 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

21 releases · first in 2018

0 releases in the last 12 months

see the full history below

Release timeline

21 releases · Feb 2018 to Feb 2020
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 21
  1. 0.2.0-alpha.1 08 Aug 2019 pre-release

    Nothing published for this version

  2. 0.1.18 04 Feb 2020
    Release notes

    Added

    • TypedExecutor re-export and implementations (#993).
    Open source →
    Release notes
    • Add tokio 0.2.x deprecation notice.
    Open source →
  3. 0.1.17 04 Dec 2019
    Release notes

    Added

    • Propagate trace subscriber in the runtime (#966).
    Open source →
    Release notes

    Added

    • Internal APIs for overriding blocking behavior (#1752)
    Open source →
  4. 0.1.16 30 Sep 2019
    Release notes

    Fixed

    • async-await: track latest nightly changes (#940).

    Added

    • sync::Watch, a single value broadcast channel (#922).
    • Async equivalent of read / write file helpers being added to std (#896).
    Open source →
    Release notes

    Changed

    • Remove last non-dev dependency on rand crate by seeding PRNG via libstd RandomState (#1324 backport)
    • Upgrade (dev-only dependency) rand to 0.7.0 (#1302 backport)
    • The minimum supported rust version (MSRV) is now 1.31.0 (#1358)
    Open source →
  5. 0.1.15 03 Jul 2019
    Release notes

    Added

    • Re-export tokio-sync APIs (#839).
    • Stream enumerate combinator (#832).
    Open source →
    Release notes

    Changed

    • Allow other executors inside threadpool::blocking (#1155).
    Open source →
  6. 0.1.14 22 Apr 2019
    Release notes
    • Use feature flags to break up the crate, allowing users to pick & choose components (#808).
    • Export UnixDatagram and UnixDatagramFramed (#772).
    Open source →
    Release notes

    Added

    • Add panic_handler for customizing action taken on panic (#1052).
    Open source →
  7. 0.1.13 22 Mar 2019
    Release notes
    • Fix Runtime::reactor() when no tasks are spawned (#721).
    • runtime::Builder no longer uses deprecated methods (#749).
    • Provide after_start and before_stop configuration settings for Runtime (#756).
    • Implement throttle stream combinator (#736).
    Open source →
    Release notes

    Added

    • TypedExecutor implementations (#993)
    Open source →
  8. 0.1.12 02 Mar 2019
    Release notes
    • runtime: expose keep_alive on runtime builder (#676).
    • runtime: create a reactor per worker thread (#660).
    • codec: fix panic in LengthDelimitedCodec (#682).
    • io: re-export tokio_io::io::read function (#689).
    • runtime: check for executor re-entry in more places (#708).
    Open source →
    Release notes

    Fixed

    • Documentation typos (#915).

    Changed

    • Update crossbeam dependencies (#874).
    Open source →
  9. 0.1.11 25 Jan 2019
    Release notes
    • Fix tokio-async-await dependency (#675).
    Open source →
    Release notes

    Fixed

    • Drop incomplete tasks when threadpool is dropped (#722).
    Open source →
  10. 0.1.10 07 Jan 2019
    Release notes
    • Fix minimal versions
    Open source →
    Release notes
    • Fix deadlock bug in blocking (#795).
    • Introduce global task queue (#798).
    • Use crossbeam's Parker / Unparker (#529).
    • Panic if worker thread cannot be spawned (#826).
    • Improve blocking API documentation (#789).
    Open source →
  11. 0.1.9 22 Nov 2018
    Release notes
    • Experimental async/await improvements (#661).
    • Re-export TaskExecutor from tokio-current-thread (#652).
    • Improve Runtime builder API (#645).
    • tokio::run panics when called from the context of an executor (#646).
    • Introduce StreamExt with a timeout helper (#573).
    • Move length_delimited into tokio (#575).
    • Re-organize tokio::net module (#548).
    • Re-export tokio-current-thread::spawn in current_thread runtime (#579).
    Open source →
    Release notes
    • Bump internal dependency versions (#746, #753).
    • Internal refactors (#768, #769).
    Open source →
  12. 0.1.8 24 Oct 2018
    Release notes
    • Extract tokio::executor::current_thread to a sub crate (#370)
    • Add Runtime::block_on (#398)
    • Add runtime::current_thread::block_on_all (#477)
    • Misc documentation improvements (#450)
    • Implement std::error::Error for error types (#501)
    Open source →
    Release notes
    • Assign spawned tasks to random worker (#660).
    • Worker threads no longer shutdown (#692).
    • Reduce atomic ops in notifier (#702).
    Open source →
  13. 0.1.7 27 Sep 2018
    Release notes
    • Add Runtime::block_on for concurrent runtime (#391).
    • Provide handle to current_thread::Runtime that allows spawning tasks from other threads (#340).
    • Provide clock::now(), a configurable source of time (#381).
    Open source →
    Release notes
    • Add ThreadPool::spawn_handle (#602, #604).
    • Fix spawned future leak (#649).
    Open source →
  14. 0.1.6 24 Aug 2018
    Release notes
    • Add asynchronous filesystem APIs (#323).
    • Add "current thread" runtime variant (#308).
    • CurrentThread: Expose inner Park instance.
    • Improve fairness of CurrentThread executor (#313).
    Open source →
    Release notes
    • Misc performance improvements (#466, #468, #470, #475, #534)
    • Documentation improvements (#450)
    • Shutdown backup threads when idle (#489)
    • Implement std::error::Error for error types (#511)
    • Bugfix: handle num_cpus returning zero (#530).
    Open source →
  15. 0.1.5 05 Jul 2018
    Release notes
    • Provide timer API (#266)
    Open source →
    Release notes
    • Fix race condition bug when threads are woken up (#459).
    • Improve BlockingError message (#451).
    Open source →
  16. 0.1.4 07 Jun 2018
    Release notes
    • Fix build on FreeBSD (#218)
    • Shutdown the Runtime when the handle is dropped (#214)
    • Set Runtime thread name prefix for worker threads (#232)
    • Add builder for Runtime (#234)
    • Extract TCP and UDP types into separate crates (#224)
    • Optionally support futures 0.2.
    Open source →
    Release notes
    • Fix bug that can occur with multiple pools in a process (#375).
    Open source →
  17. 0.1.3 02 May 2018
    Release notes
    • Fix CurrentThread::turn to block on idle (#212).
    Open source →
    Release notes
    • Add blocking annotation (#317).
    Open source →
  18. 0.1.2 30 Mar 2018
    Release notes
    • Introduce Tokio Runtime (#141)
    • Provide CurrentThread for more flexible usage of current thread executor (#141).
    • Add Lio for platforms that support it (#142).
    • I/O resources now lazily bind to the reactor (#160).
    • Extract Reactor to dedicated crate (#169)
    • Add facade to sub crates and add prelude (#166).
    • Switch TCP/UDP fns to poll_ -> Poll<...> style (#175)
    Open source →
    Release notes
    • Add the ability to specify a custom thread parker.
    Open source →
  19. 0.1.1 23 Mar 2018
    Release notes
    • Doc fixes
    Open source →
    Release notes
    • Handle futures that panic on the threadpool.
    • Optionally support futures 0.2.
    Open source →
  20. 0.1.0 09 Mar 2018
    Release notes
    • Initial crate released based on RFC.
    Open source →
    Release notes
    • Initial release
    Open source →
  21. 0.0.0 07 Feb 2018

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive