Recent Posts
None | 27 sec ago
None | 28 sec ago
C++ | 31 sec ago
None | 32 sec ago
None | 35 sec ago
PHP | 41 sec ago
C++ | 54 sec ago
TCL | 57 sec ago
None | 1 min ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By bitplane on the 9th of Feb 2010 10:40:03 PM
Download |
Raw |
Embed |
Report
def synchronized(f):
def blockingFunction(self, *args, **kwargs):
self.lock.acquire()
try:
return f(self, *args, **kwargs)
finally:
self.lock.release()
return blockingFunction
Submit a correction or amendment below.
Make A New Post