Message157844
| Author |
kristjan.jonsson |
| Recipients |
csernazs, jyasskin, kristjan.jonsson, pitrou |
| Date |
2012年04月09日.13:29:00 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1333978141.57.0.262436008387.issue8799@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|