#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

#923 in Concurrency

Download history 26/week @ 2024-10-03 8/week @ 2024-12-05 8/week @ 2024-12-12

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