Netsvc: try to have a name for late-start threads.

That may help debugging the threads.

bzr revid: p_christ@hol.gr-20100726093336-urtx99as4zliho69
This commit is contained in:
P. Christeas 2010-07-26 12:33:36 +03:00
parent fab3f04e8b
commit 726a046bc3
1 changed files with 1 additions and 0 deletions

View File

@ -338,6 +338,7 @@ class Server:
# timer thread in a list, so that we can abort the start if quitAll
# is called in the meantime
t = threading.Timer(1.0, self._late_start)
t.name = 'Late start timer for %s' % str(self.__class__)
Server.__starter_threads.append(t)
t.start()