Message131831
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). |
|
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 | |
|