Package buildbot :: Package util :: Module misc
[frames] | no frames]

Module misc

source code

Miscellaneous utilities; these should be imported from buildbot.util, not directly from this module.

Classes
  SerializedInvocation
A method wrapper to serialize calls to a deferred method.
Functions
 
deferredLocked(lock_or_attr)
Wrap a function which returns a Deferred with a DeferredLock.
source code
Variables
  __package__ = 'buildbot.util'
Function Details

deferredLocked(lock_or_attr)

source code 

Wrap a function which returns a Deferred with a DeferredLock. The DeferredLock is given by the argument to the decorator; if this argument is a string, then the function is assumed to be a method, and the named attribute of SELF is used as the lock object.