Hello,
The fairly obvious thing to do is use a queue.queue for tasks and another for results and a pool of threads that read, fetch, and write.
Thanks, indeed.Is a list thrad-safe or do I need to lock when adding the results of my worker threads to a list? The order of the elements in the list does not matter.
Jens
-- http://mail.python.org/mailman/listinfo/python-list