Quantcast
Channel: multiprocessing queue not joining - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Booboo for multiprocessing queue not joining

The problem is in function worker where you are calling done.set instead of done.is_set():def worker(q, output, done): # continually pull items off the queue until the done event is set while True: #if...

View Article



multiprocessing queue not joining

I am using multiprocessing (and pebble) to create one or more producer processes and one or more consumer processes. The producer adds items to a queue, the consumers pull from the queue and then call...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images