Message239465
When a test starts many threads in a loop, there is a chance that the starting thread will fail due to lack of memory. In this case all started threads left dangling and make MemotyError even more probably. They also can provoke dim error messages in this and in following tests. Proposed patch adds new helper function test.support.start_threads() that starts threads and then join started threads.
Some tests even hang without this patch. |
|
Date |
User |
Action |
Args |
2015-03-28 20:10:30 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
2015-03-28 20:10:30 | serhiy.storchaka | set | messageid: <1427573430.36.0.605750682641.issue23799@psf.upfronthosting.co.za> |
2015-03-28 20:10:30 | serhiy.storchaka | link | issue23799 messages |
2015-03-28 20:10:29 | serhiy.storchaka | create | |
|