summaryrefslogtreecommitdiff
path: root/Python/thread.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-04-16 18:53:59 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2011-04-16 18:53:59 +0200
commitee4293400cff1d5f9a7a6dd8e9aaa6ba6623e348 (patch)
tree579ae44f65b5632aeb744f56446f0dfadce0c1c3 /Python/thread.c
parent1d827ff43d6340db759ddc08c6ab1efa3e1886d1 (diff)
downloadcpython-git-ee4293400cff1d5f9a7a6dd8e9aaa6ba6623e348.tar.gz
Fix possible "file already exists" error when running the tests in parallel.
This is a perfect example of LBYL going wrong: that code could be executed by several workers in parallel, and os.mkdir() attempted on the same path by multiple processes.
Diffstat (limited to 'Python/thread.c')
0 files changed, 0 insertions, 0 deletions