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 pitrou
Recipients Ericg, davin, pitrou
Date 2018-02-24.19:46:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1519501561.62.0.467229070634.issue32937@psf.upfronthosting.co.za>
In-reply-to
Content
What happens if you add another process that calls get() on the queue?  You should not try to put data on a queue if you don't ever plan to consume it, as the queue's background thread will eventually block until something gets consumed.

For example, this blocks here on Linux:

$ ./python -c "import multiprocessing as mp; q = mp.Queue(); [q.put(None) for i in range(50000)]"
History
Date User Action Args
2018-02-24 19:46:01pitrousetrecipients: + pitrou, davin, Ericg
2018-02-24 19:46:01pitrousetmessageid: <1519501561.62.0.467229070634.issue32937@psf.upfronthosting.co.za>
2018-02-24 19:46:01pitroulinkissue32937 messages
2018-02-24 19:46:01pitroucreate