#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

#669 in Concurrency

Download history 4/week @ 2024-09-20 213/week @ 2024-09-27 17/week @ 2024-10-04

234 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