| Crates.io | rahat3062_pool |
| lib.rs | rahat3062_pool |
| version | 0.1.0 |
| created_at | 2024-05-04 15:25:12.991034+00 |
| updated_at | 2024-05-04 15:25:12.991034+00 |
| description | A simple, efficient thread pool for Rust.❤️ |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1229658 |
| size | 10,608 |
A simple, efficient thread pool for Rust.
This crate provides a ThreadPool struct that allows you to execute jobs on a pool of worker threads. It's useful for offloading CPU-intensive or blocking I/O tasks to a separate set of threads, to avoid blocking the main thread of your application.
ThreadPool and start adding jobs.Send and 'static, ensuring they can safely be sent across threads.trace flag to print the states of the workers.This project is licensed under the MIT License.