A thread pool and the degree of parallelism