Commit b26df9a7 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Do not initialize thread specific data that will be overriden in clear(()

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1678 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent fe2f6fd6
......@@ -53,21 +53,14 @@ class ThreadContext(object):
_threads_dict = {}
def __init__(self):
self.tid = None
self.txn = None
self.txn_voted = False
self.txn_finished = False
self.txn_info = 0
self.history = None
self.data_dict = {}
self.node_tids = {}
self.node_ready = False
self.conflict_serial = 0
self.asked_object = 0
self.object_stored_counter = 0
self.voted_counter = 0
self.object_stored = 0
self.queue = Queue(5)
def __getThreadData(self):
thread_id = get_ident()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment