Public Member Functions | List of all members
_BoundedSemaphore Class Reference
Inheritance diagram for _BoundedSemaphore:
_Semaphore _Verbose

Public Member Functions

def __init__ (self, value=1, verbose=None)
def release (self)
- Public Member Functions inherited from _Semaphore
def __exit__ (self, t, v, tb)
def acquire (self, blocking=1)
- Public Member Functions inherited from _Verbose
def __init__ (self, verbose=None)
def __init__ (self, verbose=None)

Detailed Description

Semaphore that checks that # releases is <= # acquires

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  value = 1,
  verbose = None 

Reimplemented from _Semaphore.

Member Function Documentation

◆ release()

def release (   self)

Reimplemented from _Semaphore.