A lite thread pool library written for Rust.
Usage
Cargo.toml
[]
= "0.4.2"
or
[]
= { = "https://github.com/biluohc/poolite", = "master", = "0.4.2" }
Documentation
- Visit https://docs.rs/poolite/
or - Run
cargo doc --openafter modified the toml file.
ChangLog
- 2017-0121 0.4.2 Fix a bug
attempt to divide by zeroand complete tests. - 2017-0121 0.4.1 Remove constants's
pub,modifieddaemon()(bool->Option<64>),change the default value of load_limit and reorder the document. - 2017-0120 0.4.0 add
daemon(),num_cpus()methods, and move documentation to doc.rs. - 2017-0112 0.3.0 remove all
unwrap()and addload_limit(),is_empty(), tasks_len(), len(), wait_len(), strong_count()methods. - 2016-0102 0.2.1 use unstable
FnBox()to supportFnOnce()(Only support Nightly now,Stable or Beta should use 0.2.0). - 2016-0101 0.2.0 add
min(),time_out(),name(),stack_size(),run()methods.