[Commits] (bkirsch) Added a more detailed thread name

commits at osafoundation.org commits at osafoundation.org
Mon Jan 31 13:14:05 PST 2005


Commit by: bkirsch
Modified files:
chandler/parcels/osaf/framework/twisted/TwistedThreadPool.py 1.4 1.5

Log message:
Added a more detailed thread name

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/twisted/TwistedThreadPool.py.diff?r1=text&tr1=1.4&r2=text&tr2=1.5

Index: chandler/parcels/osaf/framework/twisted/TwistedThreadPool.py
diff -u chandler/parcels/osaf/framework/twisted/TwistedThreadPool.py:1.4 chandler/parcels/osaf/framework/twisted/TwistedThreadPool.py:1.5
--- chandler/parcels/osaf/framework/twisted/TwistedThreadPool.py:1.4	Mon Jan 31 12:37:53 2005
+++ chandler/parcels/osaf/framework/twisted/TwistedThreadPool.py	Mon Jan 31 13:14:03 2005
@@ -1,7 +1,6 @@
 import twisted.python.threadable as threadable
 import twisted.python.threadpool as threadpool
 import repository.persistence.Repository as Repository
-import application.Globals as Globals
 import Queue
 
 threadable.init()
@@ -14,7 +13,7 @@
 
     def startAWorker(self):
         self.workers = self.workers + 1
-        name = "PoolThread-%s-%s" % (id(self), self.workers)
+        name = "RepositoryPoolThread-%s-%s" % (id(self), self.workers)
         try:
             firstJob = self.q.get(0)
         except Queue.Empty:



More information about the Commits mailing list