This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jnoller
Recipients DavidDecotigny, jnoller
Date 2008-09-06.01:10:44
SpamBayes Score 0.00018835683
Marked as misclassified No
Message-id <1220663445.3.0.288342754588.issue3789@psf.upfronthosting.co.za>
In-reply-to
Content
See http://docs.python.org/dev/library/multiprocessing.html#multiprocessing-
programming

Specifically:
Joining processes that use queues

Bear in mind that a process that has put items in a queue will wait 
before terminating until all the buffered items are fed by the “feeder” 
thread to the underlying pipe. (The child process can call the 
Queue.cancel_join() method of the queue to avoid this behaviour.)

This means that whenever you use a queue you need to make sure that all 
items which have been put on the queue will eventually be removed before 
the process is joined. Otherwise you cannot be sure that processes which 
have put items on the queue will terminate. Remember also that non-
daemonic processes will be automatically be joined.
History
Date User Action Args
2008-09-06 01:10:45jnollersetrecipients: + jnoller, DavidDecotigny
2008-09-06 01:10:45jnollersetmessageid: <1220663445.3.0.288342754588.issue3789@psf.upfronthosting.co.za>
2008-09-06 01:10:44jnollerlinkissue3789 messages
2008-09-06 01:10:44jnollercreate