Re:Thread pools: How do I use them?
by megamouse on Sunday March 27, 2016 @07:26PM
(#11371964)
I've experienced this bug in Python 2 using "pool.map" and "pool.apply", but KeyboardInterrupt does work if you're waiting for a finite amount of time. So as a workaround you can use "result = pool.map_async(...); result.get(sys.maxint)". A little hacky but functional.
[ Parent
| on HN ]
There are no comments on this comment yet.