Staging
v0.5.1
https://github.com/python/cpython
Revision 3baaa1375ba03cf2d7fa3af884d6a99294c2587a authored by Guido van Rossum on 22 March 1999, 21:44:51 UTC, committed by Guido van Rossum on 22 March 1999, 21:44:51 UTC
- Use HAVE_GETHOSTBYNAME_R_6_ARG instead of testing for Linux and
glibc2.

- If gethostbyname takes 3 args, undefine HAVE_GETHOSTBYNAME_R --
don't know what code should be used.

- New symbol USE_GETHOSTBYNAME_LOCK defined iff the lock should be used.

- Modify the gethostbyaddr() code to also hold on to the lock until
after it is safe to release, overlapping with the Python lock.

(Note: I think that it could in theory be possible that Python code
executed while gethostbyname_lock is held could attempt to reacquire
the lock -- e.g. in a signal handler or destructor.  I will simply say
"don't do that then.")
1 parent 955becc
History
Tip revision: 3baaa1375ba03cf2d7fa3af884d6a99294c2587a authored by Guido van Rossum on 22 March 1999, 21:44:51 UTC
Clean up pass for the previous patches.
Tip revision: 3baaa13
File Mode Size
.cvsignore -rw-r--r-- 43 bytes
README -rw-r--r-- 6.9 KB
bkfile.py -rw-r--r-- 1.4 KB
checkextensions.py -rw-r--r-- 2.0 KB
checkextensions_win32.py -rw-r--r-- 5.5 KB
extensions_win32.ini -rw-r--r-- 2.8 KB
freeze.py -rwxr-xr-x 15.3 KB
hello.py -rw-r--r-- 23 bytes
makeconfig.py -rw-r--r-- 1.2 KB
makefreeze.py -rw-r--r-- 2.3 KB
makemakefile.py -rw-r--r-- 892 bytes
modulefinder.py -rw-r--r-- 13.9 KB
parsesetup.py -rw-r--r-- 2.1 KB
win32.html -rw-r--r-- 7.0 KB
winmakemakefile.py -rw-r--r-- 4.6 KB

README

back to top