#thread-pool #thread #parallelism

threatpool

Threatpool is a simple thread pool

3 releases (breaking)

0.3.0 Sep 28, 2024
0.2.0 Jan 18, 2024
0.1.0 Oct 8, 2023

#712 in Concurrency

Download history 4/week @ 2024-09-21 221/week @ 2024-09-28 9/week @ 2024-10-05

112 downloads per month

MIT/Apache

7KB
71 lines

Threatpool

Threatpool is a simple thread pool which focuses on simplicity.

License

This project is licensed under either of

at your option.


lib.rs:

Threatpool is a simple thread pool with focus on simplicity.

Example

use threatpool::ThreadPool;

let pool = ThreadPool::new(4);

pool.execute(|| {
    // Simulate some task
    println!("Hello, World");
});

No runtime deps