minipooll

Crates.iominipooll
lib.rsminipooll
version1.0.0
created_at2025-05-04 17:39:02.784774+00
updated_at2025-05-04 17:39:02.784774+00
descriptionPool threads without dependencies
homepage
repositoryhttps://github.com/olejaaaaaaaa/minipool/
max_upload_size
id1659825
size8,546
Oleja (olejaaaaaaaa)

documentation

https://docs.rs/minipool

README

MiniPool

This is a stupid thread pool for running parallel cpu-bound tasks.

No have dependencies.

fn main() {
    let mut pool = MiniPooll::new();
    pool.spawn(|| {
        std::thread::sleep(Duration::from_secs(2))
    });

    pool.join_all();
}

How to use?

[dependencies]
minipooll = "*"

Contributing

Contributions are always welcome!

License

Apache

Commit count: 8

cargo fmt