minipooll 1.0.0

Pool threads without dependencies
Documentation
  • Coverage
  • 33.33%
    5 out of 15 items documented5 out of 14 items with examples
  • Size
  • Source code size: 8.06 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.59 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • olejaaaaaaaa/minipool
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • olejaaaaaaaa

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