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

Module Synchronization

source code

from Thinking in Python, Bruce Eckel http://python-3-patterns-idioms-test.readthedocs.org/en/latest/Observer.html

(c) Copyright 2008, Creative Commons Attribution-Share Alike 3.0.

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.