Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dthreadmodule.c24 PyThread_type_lock lock_lock; member
33 if (self->lock_lock != NULL) { in lock_dealloc()
35 PyThread_acquire_lock(self->lock_lock, 0); in lock_dealloc()
36 PyThread_release_lock(self->lock_lock); in lock_dealloc()
38 PyThread_free_lock(self->lock_lock); in lock_dealloc()
52 i = PyThread_acquire_lock(self->lock_lock, i); in lock_PyThread_acquire_lock()
73 if (PyThread_acquire_lock(self->lock_lock, 0)) { in lock_PyThread_release_lock()
74 PyThread_release_lock(self->lock_lock); in lock_PyThread_release_lock()
79 PyThread_release_lock(self->lock_lock); in lock_PyThread_release_lock()
95 if (PyThread_acquire_lock(self->lock_lock, 0)) { in lock_locked_lock()
[all …]