Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_threadmodule.c262 PyThread_type_lock rlock_lock; member
275 if (self->rlock_lock != NULL) { in rlock_dealloc()
278 PyThread_release_lock(self->rlock_lock); in rlock_dealloc()
280 PyThread_free_lock(self->rlock_lock); in rlock_dealloc()
306 r = acquire_timed(self->rlock_lock, timeout); in rlock_acquire()
347 PyThread_release_lock(self->rlock_lock); in rlock_release()
374 if (!PyThread_acquire_lock(self->rlock_lock, 0)) { in rlock_acquire_restore()
376 r = PyThread_acquire_lock(self->rlock_lock, 1); in rlock_acquire_restore()
410 PyThread_release_lock(self->rlock_lock); in rlock_release_save()
447 self->rlock_lock = PyThread_allocate_lock(); in rlock_new()
[all …]