Documentation
  • Coverage
  • 75%
    3 out of 4 items documented1 out of 4 items with examples
  • Size
  • Source code size: 3.74 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 253.2 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • bigoldcat123

thread POOL

nothing but for studying rust

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