task_queue
The implementation of the thread pool for Rust.
Library supports dynamic control over the number of threads.
Usage
Add this to your Cargo.toml:
[]
= "0.0.1"
and this to your crate root:
extern crate task_queue;
Example
extern crate task_queue;
use ;
let data = new;
let mut queue = new;
for _ in 0..1000
let not_executed_tasks = queue.stop.unwrap;
for t in ¬_executed_tasks