Home
last modified time | relevance | path

Searched refs:import_lock_level (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Python/
Dimport.c153 static int import_lock_level = 0; variable
167 import_lock_level++; in _PyImport_AcquireLock()
177 assert(import_lock_level == 0); in _PyImport_AcquireLock()
179 import_lock_level = 1; in _PyImport_AcquireLock()
190 import_lock_level--; in _PyImport_ReleaseLock()
191 assert(import_lock_level >= 0); in _PyImport_ReleaseLock()
192 if (import_lock_level == 0) { in _PyImport_ReleaseLock()
213 if (import_lock_level > 1) { in _PyImport_ReInitLock()
222 import_lock_level--; in _PyImport_ReInitLock()
225 import_lock_level = 0; in _PyImport_ReInitLock()
/external/python/cpython2/Python/
Dimport.c289 static int import_lock_level = 0; variable
303 import_lock_level++; in _PyImport_AcquireLock()
313 import_lock_level = 1; in _PyImport_AcquireLock()
324 import_lock_level--; in _PyImport_ReleaseLock()
325 if (import_lock_level == 0) { in _PyImport_ReleaseLock()
347 import_lock_level = 0; in _PyImport_ReInitLock()
/external/python/cpython3/Tools/c-analyzer/
Dignored-globals.txt57 import_lock_level
DTODO77 Python/import.c:import_lock_level static int import_lock_level
Dknown.tsv350 Python/import.c - import_lock_level variable static int import_lock_level