Searched refs:import_lock_level (Results 1 – 2 of 2) sorted by relevance
151 static int import_lock_level = 0; variable165 import_lock_level++; in _PyImport_AcquireLock()174 assert(import_lock_level == 0); in _PyImport_AcquireLock()176 import_lock_level = 1; in _PyImport_AcquireLock()187 import_lock_level--; in _PyImport_ReleaseLock()188 assert(import_lock_level >= 0); in _PyImport_ReleaseLock()189 if (import_lock_level == 0) { in _PyImport_ReleaseLock()210 if (import_lock_level > 1) { in _PyImport_ReInitLock()219 import_lock_level--; in _PyImport_ReInitLock()222 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()