threadpool: ability to specify number of threads for spawn(n) to create.