def __init__(self, *, ctx):
     SemLock.__init__(self, RECURSIVE_MUTEX, 1, 1, ctx=ctx)
 def __init__(self, value=1, *, ctx):
     SemLock.__init__(self, SEMAPHORE, value, value, ctx=ctx)
 def __init__(self, *, ctx):
     SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx)
Beispiel #4
0
 def __init__(self, value=1):
     SemLock.__init__(self, SEMAPHORE, value, SEM_VALUE_MAX)
 def __init__(self, value=1, *, ctx):
     SemLock.__init__(self, SEMAPHORE, value, SEM_VALUE_MAX, ctx=ctx)
Beispiel #6
0
 def __init__(self):
     SemLock.__init__(self, SEMAPHORE, 1, 1)
Beispiel #7
0
 def __init__(self):
     SemLock.__init__(self, RECURSIVE_MUTEX, 1, 1)
 def __init__(self, *, ctx):
     SemLock.__init__(self, RECURSIVE_MUTEX, 1, 1, ctx=ctx)
Beispiel #9
0
 def __init__(self, value=1):
     SemLock.__init__(self, SEMAPHORE, value, value)
 def __init__(self, value=1, *, ctx):
     SemLock.__init__(self, SEMAPHORE, value, value, ctx=ctx)
 def __init__(self, *, ctx):
     SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx)
 def __init__(self, value=1, *, ctx):
     SemLock.__init__(self, SEMAPHORE, value, SEM_VALUE_MAX, ctx=ctx)
Beispiel #13
0
 def __init__(self):
     SemLock.__init__(self, RECURSIVE_MUTEX, 1, 1)
Beispiel #14
0
 def __init__(self):
     SemLock.__init__(self, SEMAPHORE, 1, 1)
Beispiel #15
0
 def __init__(self, value=1):
     SemLock.__init__(self, SEMAPHORE, value, value)
Beispiel #16
0
 def __init__(self, value=1):
     SemLock.__init__(self, SEMAPHORE, value, SEM_VALUE_MAX)