From c9e8aae8a2fd3501f9af66f7011992c5dcb2367a Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 20 Dec 2010 19:34:41 +0000 Subject: [PATCH] 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) --- lib/core/common.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/core/common.py b/lib/core/common.py index 9961b5253..3824fe99f 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -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