Home
last modified time | relevance | path

Searched refs:import_lock (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Python/
Dimport.c113 static PyThread_type_lock import_lock = NULL; variable
123 if (import_lock == NULL) { in _PyImport_AcquireLock()
124 import_lock = PyThread_allocate_lock(); in _PyImport_AcquireLock()
125 if (import_lock == NULL) in _PyImport_AcquireLock()
133 !PyThread_acquire_lock(import_lock, 0)) in _PyImport_AcquireLock()
136 PyThread_acquire_lock(import_lock, WAIT_LOCK); in _PyImport_AcquireLock()
148 if (me == PYTHREAD_INVALID_THREAD_ID || import_lock == NULL) in _PyImport_ReleaseLock()
156 PyThread_release_lock(import_lock); in _PyImport_ReleaseLock()
169 if (import_lock != NULL) { in _PyImport_ReInitLock()
170 if (_PyThread_at_fork_reinit(&import_lock) < 0) { in _PyImport_ReInitLock()
[all …]
/third_party/python/Tools/c-analyzer/
DTODO73 Python/import.c:import_lock static PyThread_type_lock import_l…
/third_party/python/Tools/c-analyzer/cpython/
Dignored.tsv2124 Python/import.c - import_lock -