threading :: _BoundedSemaphore :: Class _BoundedSemaphore
[hide private]
[frames] | no frames]

Class _BoundedSemaphore

source code

object --+        
         |        
  _Verbose --+    
             |    
    _Semaphore --+
                 |
                _BoundedSemaphore

Semaphore that checks that # releases is <= # acquires

Instance Methods [hide private]
 
__init__(self, value=1, verbose=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
release(self) source code

Inherited from _Semaphore: __enter__, __exit__, acquire

Inherited from _Verbose (private): _note

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, value=1, verbose=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

release(self)

source code 
Overrides: _Semaphore.release