futures-cpupool 0.1.1

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

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 = { git = "https://github.com/alexcrichton/futures-rs" }
futures-cpupool = { git = "https://github.com/alexcrichton/futures-rs" }

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.