Home
last modified time | relevance | path

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

/third_party/python/Modules/_multiprocessing/
Dsemaphore.c40 #define ISMINE(o) (o->count > 0 && PyThread_get_thread_ident() == o->last_tid) macro
116 if (self->kind == RECURSIVE_MUTEX && ISMINE(self)) { in _multiprocessing_SemLock_acquire_impl()
179 if (!ISMINE(self)) { in _multiprocessing_SemLock_release_impl()
310 if (self->kind == RECURSIVE_MUTEX && ISMINE(self)) { in _multiprocessing_SemLock_acquire_impl()
389 if (!ISMINE(self)) { in _multiprocessing_SemLock_release_impl()
601 return PyBool_FromLong(ISMINE(self)); in _multiprocessing_SemLock__is_mine_impl()