Home
last modified time | relevance | path

Searched refs:netdb_lock (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Dsocketmodule.c219 #define ACQUIRE_GETADDRINFO_LOCK PyThread_acquire_lock(netdb_lock, 1);
220 #define RELEASE_GETADDRINFO_LOCK PyThread_release_lock(netdb_lock);
850 static PyThread_type_lock netdb_lock; variable
3500 PyThread_acquire_lock(netdb_lock, 1);
3513 PyThread_release_lock(netdb_lock);
3599 PyThread_acquire_lock(netdb_lock, 1);
3606 PyThread_release_lock(netdb_lock);
5536 netdb_lock = PyThread_allocate_lock();
/external/python/cpython3/Modules/
Dsocketmodule.c227 #define ACQUIRE_GETADDRINFO_LOCK PyThread_acquire_lock(netdb_lock, 1);
228 #define RELEASE_GETADDRINFO_LOCK PyThread_release_lock(netdb_lock);
1011 static PyThread_type_lock netdb_lock; variable
5447 PyThread_acquire_lock(netdb_lock, 1);
5461 PyThread_release_lock(netdb_lock);
5546 PyThread_acquire_lock(netdb_lock, 1);
5554 PyThread_release_lock(netdb_lock);
7988 netdb_lock = PyThread_allocate_lock();