コード例 #1
0
 def __init__(self, db, stop, threadnum, commitdict, startnum, step=2, sleep=None):
     TestThread.__init__(self)
     self.db = db
     self.stop = stop
     self.threadnum = threadnum
     self.startnum = startnum
     self.step = step
     self.sleep = sleep
     self.added_keys = []
     self.commitdict = commitdict
コード例 #2
0
 def __init__(self, test, db, stop, threadnum, commitdict, startnum,
              step=2, sleep=None):
     TestThread.__init__(self, test)
     self.db = db
     self.stop = stop
     self.threadnum = threadnum
     self.startnum = startnum
     self.step = step
     self.sleep = sleep
     self.added_keys = []
     self.commitdict = commitdict
コード例 #3
0
 def __init__(self, storage, trans, method="tpc_finish"):
     self.storage = storage
     self.trans = trans
     self.method = method
     self.ready = threading.Event()
     TestThread.__init__(self)
コード例 #4
0
 def __init__(self, storage, trans):
     self.storage = storage
     self.trans = trans
     self.ready = threading.Event()
     TestThread.__init__(self)
コード例 #5
0
ファイル: CommitLockTests.py プロジェクト: zopefoundation/ZEO
 def __init__(self, test, storage, trans):
     self.storage = storage
     self.trans = trans
     self.ready = threading.Event()
     TestThread.__init__(self, test)
コード例 #6
0
ファイル: CommitLockTests.py プロジェクト: wpjunior/proled
 def __init__(self, storage, trans, method="tpc_finish"):
     self.storage = storage
     self.trans = trans
     self.method = method
     self.ready = threading.Event()
     TestThread.__init__(self)