method

new

new(thread_count)
public

Creates a ThreadPool object. The thread_count parameter is the size of the pool.