This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kristjan.jonsson
Recipients kristjan.jonsson, pitrou, serhiy.storchaka, vstinner
Date 2017-06-22.11:23:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498130607.83.0.0388941744887.issue30727@psf.upfronthosting.co.za>
In-reply-to
Content
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...
History
Date User Action Args
2017-06-22 11:23:27kristjan.jonssonsetrecipients: + kristjan.jonsson, pitrou, vstinner, serhiy.storchaka
2017-06-22 11:23:27kristjan.jonssonsetmessageid: <1498130607.83.0.0388941744887.issue30727@psf.upfronthosting.co.za>
2017-06-22 11:23:27kristjan.jonssonlinkissue30727 messages
2017-06-22 11:23:27kristjan.jonssoncreate