Crates.io | thread-pool |
lib.rs | thread-pool |
version | 0.1.1 |
source | src |
created_at | 2017-01-04 00:12:06.745973 |
updated_at | 2017-03-14 21:20:04.372078 |
description | A thread pool for running a number of jobs on shared worker threads. |
homepage | https://github.com/carllerche/thread-pool |
repository | https://github.com/carllerche/thread-pool |
max_upload_size | |
id | 7910 |
size | 63,080 |
A library for executing tasks on reusable threads.
First add this to your Cargo.toml
[dependencies]
thread-pool = "0.1"
Next, add this to your crate:
extern crate thread_pool;
use thread_pool::ThreadPool;
thread-pool
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.
The library is also inspired from parts of JSR-166 which is released to the public domain.