2 ms·
For the example task we could use the multiprocessing Pool and (the undocumented) ThreadPool. This implements the worker pool logic already so we don't have to
by CraigJPerry 13y ago
For the example task we could use the multiprocessing Pool and (the undocumented) ThreadPool.
This implements the worker pool logic already so we don't have to.
- shogunmike 13y agoI was considering adding this but I wasn't fully sure that it would be good content for a "first intro to parallel programming" article. Perhaps a good candidate for the next one? Thanks for mentioning it though.