Package smartcard :: Module Synchronization
[hide private]
[frames] | no frames]

Module Synchronization

source code

from Thinking in Python, Bruce Eckel http://mindview.net/Books/TIPython

Simple emulation of Java's 'synchronized' keyword, from Peter Norvig.

Classes [hide private]
  Synchronization
Functions [hide private]
 
synchronized(method) source code
 
synchronize(klass, names=None)
Synchronize methods in the given class.
source code
Variables [hide private]
  __package__ = 'smartcard'
Function Details [hide private]

synchronize(klass, names=None)

source code 

Synchronize methods in the given class. Only synchronize the methods whose names are given, or all methods if names=None.