Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23160

Peek of multiprocessing.queue?

$
0
0

I have multiple worker processes reading from the same multiprocessing.queue(). Each worker process only read contents belongs to itself, and must leave the other contents untouched. So basically the worker process must first check the queue contents then decides whether to pop one item.

Is there any way to do this with multiprocessing.queue?


Viewing all articles
Browse latest Browse all 23160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>