I am using Python 2.7, and have been converting multithreaded code to multiprocessing code to avoid GIL lock problems. However, I don't see a barrier implementation in the multiprocessing module (Any ideas how to implement one?).
I saw this question: Is it possible to use multiprocessing.Event to implement a synchronization barrier for pool of processes? But I'm not sure whether it will work correctly because it doesn't use any locks!
Thanks!