Commits

Anonymous committed c9f398c

Added cpg.threadData - ticket #53

Comments (0)

Files changed (1)

     #   throughout the entire life of the webserver)
     cpg.request = _cputil.ThreadAwareClass()
     cpg.response = _cputil.ThreadAwareClass()
+    # Create threadData object as a thread-specific all-purpose storage
+    cpg.threadData = _cputil.ThreadAwareClass()
 
     # Initialize a few global variables
     cpg._lastCacheFlushTime = time.time()