Nov-19-2019, 01:17 AM
After looking over it again, the join() calls probably aren't the problem. Rather, it's likely the Queue that's the culprit. Multiprocessing uses different processors which normally would not be able to share information. This is because each processor has its own dedicated memory cache; this contrasts with multithreading which runs multiple threads on a single processor.
However, the multiprocessing module provides utilities to get around that. Check out this Geek for Geek article about multiprocessing for possible solutions.
However, the multiprocessing module provides utilities to get around that. Check out this Geek for Geek article about multiprocessing for possible solutions.