Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/_multiprocessing/
Dsemaphore.c22 #define ISMINE(o) (o->count > 0 && PyThread_get_thread_ident() == o->last_tid) macro
94 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()
/external/python/cpython3/Modules/_multiprocessing/
Dsemaphore.c24 #define ISMINE(o) (o->count > 0 && PyThread_get_thread_ident() == o->last_tid) macro
97 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()