diff options
author | Guido van Rossum <guido@python.org> | 1999-03-22 21:44:51 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-03-22 21:44:51 (GMT) |
commit | 3baaa1375ba03cf2d7fa3af884d6a99294c2587a (patch) | |
tree | aac08e6b33951533ae86c53fb6705c23e4cd0795 /config.h.in | |
parent | 955becc3d963ebd66a1edea22d47dd24f34035e7 (diff) | |
download | cpython-3baaa1375ba03cf2d7fa3af884d6a99294c2587a.zip cpython-3baaa1375ba03cf2d7fa3af884d6a99294c2587a.tar.gz cpython-3baaa1375ba03cf2d7fa3af884d6a99294c2587a.tar.bz2 |
Clean up pass for the previous patches.
- 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.")
Diffstat (limited to 'config.h.in')
0 files changed, 0 insertions, 0 deletions