Searched refs:import_lock_level (Results 1 – 3 of 3) sorted by relevance
152 static int import_lock_level = 0; variable166 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()
289 static int import_lock_level = 0; variable303 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()
57 import_lock_level