| Crates.io | minipooll |
| lib.rs | minipooll |
| version | 1.0.0 |
| created_at | 2025-05-04 17:39:02.784774+00 |
| updated_at | 2025-05-04 17:39:02.784774+00 |
| description | Pool threads without dependencies |
| homepage | |
| repository | https://github.com/olejaaaaaaaa/minipool/ |
| max_upload_size | |
| id | 1659825 |
| size | 8,546 |
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 = "*"
Contributions are always welcome!