Package pulp :: Package server :: Package tasking :: Package queue :: Module thread :: Class DRLock
[hide private]
[frames] | no frames]

Class DRLock

source code

object --+
         |
        DRLock

Re-entrant lock that logs when it is acquired and when it is released at the debug log level.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__repr__(self)
repr(x)
source code
 
acquire(self, blocking=1) source code
 
release(self) source code
 
__enter__(self, blocking=1) source code
 
__exit__(self, *args, **kwargs) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)