Skip to content

Aterocana/thread_pool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thread Pool

A Thread Pool struct example from The Rust Programming Language book. It's used here with a slightly different main, which compares a total sleep time splitted across a variable number of workers.

As expected, when the number of workers is greater than the number of sleep time, there's no gain of performance (elapsed time =~ number of workers where cardinaly >= limit).

About

A Thread Pool struct example from The Rust Programming Language book.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages