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
Date 2010-05-24.09:44:14
SpamBayes Score 0.010091452
Marked as misclassified No
Message-id <1274694258.02.0.421667436928.issue8799@psf.upfronthosting.co.za>
In-reply-to
Content
The tests for the ConditionVariable a fragile.  On a slow computer, or when running a DEBUG build, the main thread can issue a condition.notify() call, even though the worker threads have not settled in on a wait() call.  This causes the test to stall.
The provided patch "fixes" this by adding a short _wait() before the notify.
History
Date User Action Args
2010-05-24 09:44:18kristjan.jonssonsetrecipients: + kristjan.jonsson
2010-05-24 09:44:18kristjan.jonssonsetmessageid: <1274694258.02.0.421667436928.issue8799@psf.upfronthosting.co.za>
2010-05-24 09:44:15kristjan.jonssonlinkissue8799 messages
2010-05-24 09:44:14kristjan.jonssoncreate