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

type _BoundedSemaphore

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

Semaphore that checks that # releases is <= # acquires

Instance Methods [hide private]
 
__init__(self, value=1, verbose=None)
 
release(self)

Inherited from _Semaphore: __enter__, __exit__, acquire

Inherited from _Verbose (private): _note

Method Details [hide private]

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

 
Overrides: _Verbose.__init__

release(self)

 
Overrides: _Semaphore.release