Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/multiprocessing/
Dsynchronize.py54 from _multiprocessing import SemLock
66 SEM_VALUE_MAX = _multiprocessing.SemLock.SEM_VALUE_MAX
72 class SemLock(object): class
75 sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
100 self._semlock = _multiprocessing.SemLock._rebuild(*state)
108 class Semaphore(SemLock):
111 SemLock.__init__(self, SEMAPHORE, value, SEM_VALUE_MAX)
130 SemLock.__init__(self, SEMAPHORE, value, value)
144 class Lock(SemLock):
147 SemLock.__init__(self, SEMAPHORE, 1, 1)
[all …]
Dqueues.py60 maxsize = _multiprocessing.SemLock.SEM_VALUE_MAX