Package gofer
[hide private]
[frames] | no frames]

Package gofer

source code

Submodules [hide private]

Classes [hide private]
  Singleton
Singleton metaclass usage: __metaclass__ = Singleton
Functions [hide private]
 
synchronized(fn)
Decorator that provides reentrant method invocation using the object's mutex.
source code
 
conditional(fn)
Decorator that provides reentrant method invocation using the object's mutex.
source code
Variables [hide private]
  NAME = 'gofer'
  __package__ = 'gofer'
Function Details [hide private]

synchronized(fn)

source code 

Decorator that provides reentrant method invocation using the object's mutex. The object must have a private RLock attribute named __mutex. Intended only for instance methods that have a method body that can be safely mutexed in it's entirety to prevent deadlock senarios.

conditional(fn)

source code 

Decorator that provides reentrant method invocation using the object's mutex. The object must have a private RLock attribute named __mutex. Intended only for instance methods that have a method body that can be safely mutexed in it's entirety to prevent deadlock senarios.