Searched refs:import_lock_level (Results 1 – 3 of 3) sorted by relevance
156 static int import_lock_level = 0; variable170 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()
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