Message312747
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)]" |
|
Date |
User |
Action |
Args |
2018-02-24 19:46:01 | pitrou | set | recipients:
+ pitrou, davin, Ericg |
2018-02-24 19:46:01 | pitrou | set | messageid: <1519501561.62.0.467229070634.issue32937@psf.upfronthosting.co.za> |
2018-02-24 19:46:01 | pitrou | link | issue32937 messages |
2018-02-24 19:46:01 | pitrou | create | |
|