multiprocessing.Pool, its queue, and pre-emption

Chris Angelico rosuav at gmail.com
Fri Sep 16 00:52:46 CEST 2011


On Fri, Sep 16, 2011 at 8:32 AM, John Ladasky <ladasky at my-deja.com> wrote:
> Ah. Now, see?  Having the right vocabulary helps.  Searching for
> "priority queue" brings up this discussion from back in January:
>
> http://groups.google.com/group/comp.lang.python/browse_frm/thread/b69aeced28634898
>
> 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.

ChrisA



More information about the Python-list mailing list