TAAFT
Free mode
100% free
Freemium
Free Trial
Prompts Deals

Thread pool for Rust

carllerche / thread-pool

11 4 Language: Rust License: Apache-2.0 Updated: 2y ago

README

Thread pool for Rust

A library for executing tasks on reusable threads.

Build Status
Crates.io

Documentation

Usage

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;

License

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.

0 AIs selected
Clear selection
#
Name
Task