Searched refs:ISMINE (Results 1 – 2 of 2) sorted by relevance
22 #define ISMINE(o) (o->count > 0 && PyThread_get_thread_ident() == o->last_tid) macro94 if (self->kind == RECURSIVE_MUTEX && ISMINE(self)) { in semlock_acquire()160 if (!ISMINE(self)) { in semlock_release()290 if (self->kind == RECURSIVE_MUTEX && ISMINE(self)) { in semlock_acquire()346 if (!ISMINE(self)) { in semlock_release()506 return PyBool_FromLong(ISMINE(self)); in semlock_ismine()
24 #define ISMINE(o) (o->count > 0 && PyThread_get_thread_ident() == o->last_tid) macro97 if (self->kind == RECURSIVE_MUTEX && ISMINE(self)) { in semlock_acquire()153 if (!ISMINE(self)) { in semlock_release()283 if (self->kind == RECURSIVE_MUTEX && ISMINE(self)) { in semlock_acquire()351 if (!ISMINE(self)) { in semlock_release()533 return PyBool_FromLong(ISMINE(self)); in semlock_ismine()