Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dimport.c152 static int import_lock_level = 0; variable
166 import_lock_level++; in _PyImport_AcquireLock()
176 assert(import_lock_level == 0); in _PyImport_AcquireLock()
178 import_lock_level = 1; in _PyImport_AcquireLock()
189 import_lock_level--; in _PyImport_ReleaseLock()
190 assert(import_lock_level >= 0); in _PyImport_ReleaseLock()
191 if (import_lock_level == 0) { in _PyImport_ReleaseLock()
212 if (import_lock_level > 1) { in _PyImport_ReInitLock()
221 import_lock_level--; in _PyImport_ReInitLock()
224 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