summaryrefslogtreecommitdiffstats
path: root/Modules/dlmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-03-22 20:14:53 (GMT)
committerGuido van Rossum <guido@python.org>1999-03-22 20:14:53 (GMT)
commit955becc3d963ebd66a1edea22d47dd24f34035e7 (patch)
tree5c003c67dd8bd6e28e82828b0ff31482f2466931 /Modules/dlmodule.c
parent173156fa322c81bf1b57c6e73b9975357e82adbb (diff)
downloadcpython-955becc3d963ebd66a1edea22d47dd24f34035e7.zip
cpython-955becc3d963ebd66a1edea22d47dd24f34035e7.tar.gz
cpython-955becc3d963ebd66a1edea22d47dd24f34035e7.tar.bz2
Jonathan Giddy writes:
Here's a patch to fix the race condition, which wasn't fixed by Rob's patch. It holds the gethostbyname lock until the results are copied out, which means that this lock and the Python global lock are held at the same time. This shouldn't be a problem as long as the gethostbyname lock is always acquired when the global lock is not held.
Diffstat (limited to 'Modules/dlmodule.c')
0 files changed, 0 insertions, 0 deletions