summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-09-20 06:29:56 (GMT)
committerBenjamin Peterson <benjamin@python.org>2017-09-20 14:34:19 (GMT)
commit09d93a4e7f79b7dd16de68dffc12629516fb69cb (patch)
tree909edc061b297034c3c5664c09997a611f7a236d /.travis.yml
parent7795321c566322513892543a80a5b06adbe3b04d (diff)
downloadcpython-benjamin-iteration-torture.zip
cpython-benjamin-iteration-torture.tar.gz
cpython-benjamin-iteration-torture.tar.bz2
bpo-31530: stop crashes when iterating over a file on multiple threadsbenjamin-iteration-torture
Multiple threads iterating over a file can corrupt the file's internal readahead buffer resulting in crashes. To fix this, cache buffer state thread-locally for the duration of a file_iternext call and only update the file's internal state after reading completes. No attempt is made to define or provide "reasonable" semantics for iterating over a file on multiple threads. (Non-crashing) races are still present. Duplicated, corrupt, and missing data will happen.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions