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)
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)
def threadExited(s, thread): s._printData(s.logger.info, 'threadExited', thread.getName()) UIBase.threadExited(s, thread)
def threadExited(s, thread): s._printData('threadExited', thread.getName()) UIBase.threadExited(s, thread)
def threadExited(s, thread): s._printData('threadExited', thread.getName()) UIBase.threadExited(s, thread)