mirror of
https://github.com/python/cpython.git
synced 2025-10-03 13:45:29 +00:00
merge 3.2
This commit is contained in:
commit
6ef977484d
1 changed files with 1 additions and 1 deletions
|
@ -840,7 +840,7 @@ new_sockobject(SOCKET_T fd, int family, int type, int proto)
|
||||||
/* Lock to allow python interpreter to continue, but only allow one
|
/* Lock to allow python interpreter to continue, but only allow one
|
||||||
thread to be in gethostbyname or getaddrinfo */
|
thread to be in gethostbyname or getaddrinfo */
|
||||||
#if defined(USE_GETHOSTBYNAME_LOCK) || defined(USE_GETADDRINFO_LOCK)
|
#if defined(USE_GETHOSTBYNAME_LOCK) || defined(USE_GETADDRINFO_LOCK)
|
||||||
PyThread_type_lock netdb_lock;
|
static PyThread_type_lock netdb_lock;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue