Files
cpython/Modules
Guido van Rossum 3baaa1375b 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.")
1999-03-22 21:44:51 +00:00
..
1997-10-01 04:43:39 +00:00
1997-04-29 21:34:16 +00:00
1997-04-29 20:31:59 +00:00
1997-10-01 04:29:29 +00:00
1998-12-11 01:10:29 +00:00
1998-12-08 16:27:10 +00:00
1996-08-19 22:12:39 +00:00
1998-12-07 14:28:47 +00:00
1999-02-22 18:11:18 +00:00
1996-12-10 00:32:31 +00:00
1997-10-01 04:29:29 +00:00
1996-01-26 21:10:22 +00:00
1996-10-25 14:44:06 +00:00