Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 275 Bytes

File metadata and controls

7 lines (4 loc) · 275 Bytes

CTThreadPool

Simple implementation of a ThreadPool in Java. Indicate the number of threads to start in the CTThreadPool constructor.

The included example computes the square root of 1,000 random numbers, using 10 threads.

The main method is in the SquareRooter class.