Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dimport.c287 static PyThread_type_lock import_lock = 0; variable
297 if (import_lock == NULL) { in _PyImport_AcquireLock()
298 import_lock = PyThread_allocate_lock(); in _PyImport_AcquireLock()
299 if (import_lock == NULL) in _PyImport_AcquireLock()
306 if (import_lock_thread != -1 || !PyThread_acquire_lock(import_lock, 0)) in _PyImport_AcquireLock()
309 PyThread_acquire_lock(import_lock, 1); in _PyImport_AcquireLock()
320 if (me == -1 || import_lock == NULL) in _PyImport_ReleaseLock()
327 PyThread_release_lock(import_lock); in _PyImport_ReleaseLock()
340 if (import_lock != NULL) { in _PyImport_ReInitLock()
341 import_lock = PyThread_allocate_lock(); in _PyImport_ReInitLock()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
Dimport.c259 static PyThread_type_lock import_lock = 0; variable
269 if (import_lock == NULL) { in _PyImport_AcquireLock()
270 import_lock = PyThread_allocate_lock(); in _PyImport_AcquireLock()
271 if (import_lock == NULL) in _PyImport_AcquireLock()
278 if (import_lock_thread != -1 || !PyThread_acquire_lock(import_lock, 0)) in _PyImport_AcquireLock()
281 PyThread_acquire_lock(import_lock, 1); in _PyImport_AcquireLock()
292 if (me == -1 || import_lock == NULL) in _PyImport_ReleaseLock()
299 PyThread_release_lock(import_lock); in _PyImport_ReleaseLock()
312 if (import_lock != NULL) in _PyImport_ReInitLock()
313 import_lock = PyThread_allocate_lock(); in _PyImport_ReInitLock()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dimport.c259 static PyThread_type_lock import_lock = 0; variable
269 if (import_lock == NULL) { in _PyImport_AcquireLock()
270 import_lock = PyThread_allocate_lock(); in _PyImport_AcquireLock()
271 if (import_lock == NULL) in _PyImport_AcquireLock()
278 if (import_lock_thread != -1 || !PyThread_acquire_lock(import_lock, 0)) in _PyImport_AcquireLock()
281 PyThread_acquire_lock(import_lock, 1); in _PyImport_AcquireLock()
292 if (me == -1 || import_lock == NULL) in _PyImport_ReleaseLock()
299 PyThread_release_lock(import_lock); in _PyImport_ReleaseLock()
312 if (import_lock != NULL) in _PyImport_ReInitLock()
313 import_lock = PyThread_allocate_lock(); in _PyImport_ReInitLock()