multiprocessing.Pool, its queue, and pre-emption

Chris Angelico rosuav at
Thu Sep 15 18:52:46 EDT 2011

On Fri, Sep 16, 2011 at 8:32 AM, John Ladasky <ladasky at> wrote:
> Ah. Now, see?  Having the right vocabulary helps.  Searching for
> "priority queue" brings up this discussion from back in January:
> Now, this discussion refers to a PriorityPool class which doesn't
> appear to be a standard part of Python (2.6, anyway).  But I'm not the
> first one to ask the question, and there's code out there.

Awesome! I wasn't aware of that (although considering the volume of
traffic on this list, I doubt there's any human who knows everything
that's been discussed). Previously-solved problems save everyone a lot
of trouble.


More information about the Python-list mailing list