Kristján Valur Jónsson added the comment: My favorite topic :)
You could use threading.Barrier() which is designed to synchronize N threads doing this kind of lock-step processing. The problem is that the Barrier() is implemented using Condition variables, so for unit-testing, Condition Variables, this presents a conundrum... ---------- nosy: +kristjan.jonsson _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30727> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com