url_queue.task_done()
if __name__ == '__main__':
    num_workers = 4
url_queue = mp.JoinableQueue()
manager = mp.Manager()
seen = manager.dict()
url_queue.put(1)
downloaders = [mp.Process(target=worker, args=(url_queue, seen)) for i in
    range(num_workers)]
for p in downloaders:
    p.daemon = True
p.start()
url_queue.join()
Какую стратегию использовать с многопроцессорностью в python