#future #thread #ok

futures-cpupool

An implementation of thread pools which hand out futures to the results of the computation on the threads themselves

8 releases

Uses old Rust 2015

0.1.8 Jan 2, 2018
0.1.7 Oct 12, 2017
0.1.6 Sep 14, 2017
0.1.5 Mar 21, 2017
0.1.0 Aug 1, 2016

#81 in #ok

Download history 15821/week @ 2024-12-14 8632/week @ 2024-12-21 7415/week @ 2024-12-28 15638/week @ 2025-01-04 17030/week @ 2025-01-11 15862/week @ 2025-01-18 15770/week @ 2025-01-25 39460/week @ 2025-02-01 33571/week @ 2025-02-08 16089/week @ 2025-02-15 21194/week @ 2025-02-22 19454/week @ 2025-03-01 21283/week @ 2025-03-08 22502/week @ 2025-03-15 19670/week @ 2025-03-22 17211/week @ 2025-03-29

83,762 downloads per month
Used in fewer than 93 crates

MIT/Apache

72KB
990 lines

futures-cpupool

A library for creating futures representing work happening concurrently on a dedicated thread pool.

Build Status Build status

Documentation

Usage

First, add this to your Cargo.toml:

[dependencies]
futures = "0.1"
futures-cpupool = "0.1"

Next, add this to your crate:

extern crate futures;
extern crate futures_cpupool;

use futures_cpupool::CpuPool;

License

futures-cpupool is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.

Dependencies