#thread-pool #thread #parallelism

threatpool

Threatpool is a simple thread pool

2 unstable releases

0.2.0 Jan 18, 2024
0.1.0 Oct 8, 2023

#283 in Simulation

31 downloads per month

MIT/Apache

7KB
71 lines

Threatpool

Threatpool is a simple thread pool which focuses on simplicity, it's the default thread pool for the byzantium libDBMS.

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