Exemplo n.º 1
0
    def threadExited(s, thread):
        threadid = thread.threadid
        accountname = s.getthreadaccount(thread)
        s.tflock.acquire()
        try:
            if threadid in s.threadframes[accountname]:
                tf = s.threadframes[accountname][threadid]
                del s.threadframes[accountname][threadid]
                s.availablethreadframes[accountname].append(tf)
                tf.setthread(None)
        finally:
            s.tflock.release()

        UIBase.threadExited(s, thread)
Exemplo n.º 2
0
    def threadExited(s, thread):
        threadid = thread.threadid
        accountname = s.getthreadaccount(thread)
        s.tflock.acquire()
        try:
            if threadid in s.threadframes[accountname]:
                tf = s.threadframes[accountname][threadid]
                del s.threadframes[accountname][threadid]
                s.availablethreadframes[accountname].append(tf)
                tf.setthread(None)
        finally:
            s.tflock.release()

        UIBase.threadExited(s, thread)
Exemplo n.º 3
0
 def threadExited(s, thread):
     s._printData(s.logger.info, 'threadExited', thread.getName())
     UIBase.threadExited(s, thread)
Exemplo n.º 4
0
 def threadExited(s, thread):
     s._printData('threadExited', thread.getName())
     UIBase.threadExited(s, thread)
Exemplo n.º 5
0
 def threadExited(s, thread):
     s._printData('threadExited', thread.getName())
     UIBase.threadExited(s, thread)