Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dimport.c156 static int import_lock_level = 0; variable
170 import_lock_level++; in _PyImport_AcquireLock()
180 assert(import_lock_level == 0); in _PyImport_AcquireLock()
182 import_lock_level = 1; in _PyImport_AcquireLock()
193 import_lock_level--; in _PyImport_ReleaseLock()
194 assert(import_lock_level >= 0); in _PyImport_ReleaseLock()
195 if (import_lock_level == 0) { in _PyImport_ReleaseLock()
216 if (import_lock_level > 1) { in _PyImport_ReInitLock()
225 import_lock_level--; in _PyImport_ReInitLock()
228 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-globals/
Dignored-globals.txt57 import_lock_level