Home
last modified time | relevance | path

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

/third_party/python/Modules/
D_threadmodule.c326 unsigned long rlock_count; member
347 if (self->rlock_count > 0) in rlock_dealloc()
368 if (self->rlock_count > 0 && tid == self->rlock_owner) { in rlock_acquire()
369 unsigned long count = self->rlock_count + 1; in rlock_acquire()
370 if (count <= self->rlock_count) { in rlock_acquire()
375 self->rlock_count = count; in rlock_acquire()
380 assert(self->rlock_count == 0); in rlock_acquire()
382 self->rlock_count = 1; in rlock_acquire()
412 if (self->rlock_count == 0 || self->rlock_owner != tid) { in rlock_release()
417 if (--self->rlock_count == 0) { in rlock_release()
[all …]