czhmt

Crates.ioczhmt
lib.rsczhmt
version0.1.3
sourcesrc
created_at2024-11-26 01:55:35.683723
updated_at2024-11-26 02:12:21.484675
descriptiona threadpool
homepage
repositoryhttps://github.com/bigoldcat123/threadpool.git
max_upload_size
id1461091
size4,185
Dale Lowe (bigoldcat123)

documentation

README

thread POOL

nothing but for studying rust

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

cargo fmt