Staging
v0.5.1
https://github.com/python/cpython
Revision 955becc3d963ebd66a1edea22d47dd24f34035e7 authored by Guido van Rossum on 22 March 1999, 20:14:53 UTC, committed by Guido van Rossum on 22 March 1999, 20:14:53 UTC
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.
1 parent 173156f
History
Tip revision: 955becc3d963ebd66a1edea22d47dd24f34035e7 authored by Guido van Rossum on 22 March 1999, 20:14:53 UTC
Jonathan Giddy writes:
Tip revision: 955becc
File Mode Size
BeOS
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.hgtags -rw-r--r-- 1.4 KB
Makefile.in -rw-r--r-- 17.9 KB
README -rw-r--r-- 36.1 KB
acconfig.h -rw-r--r-- 3.7 KB
config.h.in -rw-r--r-- 11.8 KB
configure -rwxr-xr-x 129.3 KB
configure.in -rw-r--r-- 23.3 KB
install-sh -rwxr-xr-x 2.2 KB

README

back to top