we'll need to do some cleanup around threading data model we use (some of the data we currently use we'll need to spread via copies around used threads)

This commit is contained in:
Miroslav Stampar 2010-12-20 19:34:41 +00:00
parent e09bc2406c
commit c9e8aae8a2

View File

@ -113,6 +113,18 @@ class DynamicContentItem:
self.lineContentBefore = lineContentBefore
self.lineContentAfter = lineContentAfter
class ThreadData():
"""
Represents thread independent data
"""
def __init__(self):
self.lastErrorPage = None
self.lastQueryDuration = 0
self.lastRequestUID = 0
self.valueStack = []
def paramToDict(place, parameters=None):
"""
Split the parameters into names and values, check if these parameters