summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-01-13 03:04:02 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-01-13 03:04:02 (GMT)
commit9fadfb0d1dbf1b42efbe1374ea55f99b57b76a3f (patch)
tree23c348d668b1045f52c2d3eedfa3b9d308eb3e34 /Lib/test/output
parentd7b68021ceb241fed4c082bc7a6585a987c0aab4 (diff)
downloadcpython-9fadfb0d1dbf1b42efbe1374ea55f99b57b76a3f.zip
cpython-9fadfb0d1dbf1b42efbe1374ea55f99b57b76a3f.tar.gz
cpython-9fadfb0d1dbf1b42efbe1374ea55f99b57b76a3f.tar.bz2
Guido found a brand new race in tempfile on Linux, due to Linux changing
pid across threads (but in that case, it's still the same process, and so still sharing the "template" cache in tempfile.py). Repaired that, and added a new std test. On Linux, someone please run that standalone with more files and/or more threads; e.g., python lib/test/test_threadedtempfile.py -f 1000 -t 10 to run with 10 threads each creating (and deleting) 1000 temp files.
Diffstat (limited to 'Lib/test/output')
-rw-r--r--Lib/test/output/test_threadedtempfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/output/test_threadedtempfile b/Lib/test/output/test_threadedtempfile
new file mode 100644
index 0000000..2552877
--- /dev/null
+++ b/Lib/test/output/test_threadedtempfile
@@ -0,0 +1,5 @@
+test_threadedtempfile
+Creating
+Starting
+Reaping
+Done: errors 0 ok 1000