Searched refs:RECURSIVE_MUTEX (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Modules/_multiprocessing/ |
D | semaphore.c | 11 enum { RECURSIVE_MUTEX, SEMAPHORE }; enumerator 94 if (self->kind == RECURSIVE_MUTEX && ISMINE(self)) { in semlock_acquire() 159 if (self->kind == RECURSIVE_MUTEX) { in semlock_release() 290 if (self->kind == RECURSIVE_MUTEX && ISMINE(self)) { in semlock_acquire() 345 if (self->kind == RECURSIVE_MUTEX) { in semlock_release() 438 if (kind != RECURSIVE_MUTEX && kind != SEMAPHORE) { in semlock_new()
|
/external/python/cpython3/Modules/_multiprocessing/ |
D | semaphore.c | 12 enum { RECURSIVE_MUTEX, SEMAPHORE }; enumerator 97 if (self->kind == RECURSIVE_MUTEX && ISMINE(self)) { in semlock_acquire() 152 if (self->kind == RECURSIVE_MUTEX) { in semlock_release() 283 if (self->kind == RECURSIVE_MUTEX && ISMINE(self)) { in semlock_acquire() 350 if (self->kind == RECURSIVE_MUTEX) { in semlock_release() 445 if (kind != RECURSIVE_MUTEX && kind != SEMAPHORE) { in semlock_new()
|
/external/python/cpython2/Lib/multiprocessing/ |
D | synchronize.py | 65 RECURSIVE_MUTEX, SEMAPHORE = range(2) variable 172 SemLock.__init__(self, RECURSIVE_MUTEX, 1, 1)
|
/external/python/cpython3/Lib/multiprocessing/ |
D | synchronize.py | 39 RECURSIVE_MUTEX, SEMAPHORE = list(range(2)) variable 187 SemLock.__init__(self, RECURSIVE_MUTEX, 1, 1, ctx=ctx)
|