multiprocessing.Pool, its queue, and pre-emption
John Ladasky
ladasky at my-deja.com
Thu Sep 15 18:32:43 EDT 2011
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.
More information about the Python-list
mailing list