|
|
|
|
|
by ctoth
4858 days ago
|
|
I find concurrent.futures to be a much nicer way of managing this sort of thing in Python. It's in 3.2 I believe, and there's a backport for 2 at https://pypi.python.org/pypi/futures/2.1.3
You can set up as many executors as you like, each with a given amount of threads to use for its threadpool. |
|