commit | 6d3c09f284974c2c97918d0bb63af25d0fba27aa | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Mon Mar 16 17:57:49 2015 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Mon Mar 16 17:57:49 2015 +0100 |
tree | 800357504ffb7afd002c737637da47f0cc9c6ee6 | |
parent | 59b356d659b29d962feb86e61d4890a6cee9e172 [diff] |
Issue #23680: Reduce risk of race condition in check_interrupted_write_retry() of test_io. Allocate the large data before scheduling an alarm in 1 second. On very slow computer, the alarm rings sometimes during the memory allocation.