Commits

Anonymous committed 2628d85

pass threadIndex to onStartThreadList functions - ticket #91

Comments (0)

Files changed (1)

     def run(self):
         # Call the functions from cpg.server.onStartThreadList
         for func in cpg.server.onStartThreadList:
-            func()
+            func(self._threadIndex)
         while 1:
             request, client_address = self._requestQueue.get()
             if (request, client_address) == _SHUTDOWNREQUEST: