| Crates.io | czhmt |
| lib.rs | czhmt |
| version | 0.1.3 |
| created_at | 2024-11-26 01:55:35.683723+00 |
| updated_at | 2024-11-26 02:12:21.484675+00 |
| description | a threadpool |
| homepage | |
| repository | https://github.com/bigoldcat123/threadpool.git |
| max_upload_size | |
| id | 1461091 |
| size | 4,185 |
nothing but for studying rust
let pool = crate::ThreadPool::new(4);
for i in 0..10 {
pool.exec(move || {
println!("hi {:#?}", i);
})
}