Message296621
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... |
|
Date |
User |
Action |
Args |
2017-06-22 11:23:27 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, pitrou, vstinner, serhiy.storchaka |
2017-06-22 11:23:27 | kristjan.jonsson | set | messageid: <1498130607.83.0.0388941744887.issue30727@psf.upfronthosting.co.za> |
2017-06-22 11:23:27 | kristjan.jonsson | link | issue30727 messages |
2017-06-22 11:23:27 | kristjan.jonsson | create | |
|