4 releases

0.1.3 Nov 26, 2024
0.1.2 Nov 26, 2024
0.1.1 Nov 26, 2024
0.1.0 Nov 26, 2024

#4 in #nothing

Download history 351/week @ 2024-11-25 3/week @ 2024-12-02 29/week @ 2024-12-09

383 downloads per month
Used in czh-http-server

MIT/Apache

4KB
85 lines

thread POOL

nothing but for studying rust

        let pool = crate::ThreadPool::new(4);
        for i in 0..10 {
            pool.exec(move || {
                println!("hi {:#?}", i);
            })
        }

lib.rs:

czhmt

czhmt is a poor threadpool

No runtime deps