Message157844
Here is a new patch.
1) I´ve simplified and relaxed test_notify() for Condition objects. Condition variables don't guarantee that there won't be any spurious wakeups so the test must maintain internal bookkeeping so that it doesn't break with a different implementation of Condition.
2) The main thread now properly waits for the workers to "settle" in the test.
2) I've added two generic tests of Condition objects in their "natural environment" as building blocks for bigger things, a Queue and a Lock. |
|
Date |
User |
Action |
Args |
2012-04-09 13:29:01 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, csernazs, pitrou, jyasskin |
2012-04-09 13:29:01 | kristjan.jonsson | set | messageid: <1333978141.57.0.262436008387.issue8799@psf.upfronthosting.co.za> |
2012-04-09 13:29:00 | kristjan.jonsson | link | issue8799 messages |
2012-04-09 13:29:00 | kristjan.jonsson | create | |
|