Message131831
| Author | pitrou |
|---|---|
| Recipients | bquinlan, gregory.p.smith, jyasskin, pitrou, stutzbach |
| Date | 2011-03-23.00:56:23 |
| SpamBayes Score | 3.9710735e-06 |
| Marked as misclassified | No |
| Message-id | <1300841785.53.0.811090848294.issue11635@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Ok, here is a patch. Summary: - leave a minimal amount of polling (every 600 seconds) to avoid blocking forever if there's a bug (shouldn't happen of course, but who knows? especially with multiprocessing) - when wanting to wakeup a worker, put None in its receiving queue - remove periodic cleanup of thread references by using a weak dict instead - in tests, compute runtime and make the test fail if the runtime exceeds 60 seconds (to report aforementioned synchronization bugs) Tested under Linux (extensively) and Windows 7 (briefly). |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-03-23 00:56:27 | pitrou | set | recipients: + pitrou, gregory.p.smith, bquinlan, jyasskin, stutzbach |
| 2011-03-23 00:56:25 | pitrou | set | messageid: <1300841785.53.0.811090848294.issue11635@psf.upfronthosting.co.za> |
| 2011-03-23 00:56:24 | pitrou | link | issue11635 messages |
| 2011-03-23 00:56:24 | pitrou | create | |