threads = []
for i in range(0,10):
t = threading.Thread(target=self.walkMainText,args=(file_list,base_path,logFolder))
threads.append(t)
for t in threads:
t.setDaemon(True)
t.start()
threads = []
for i in range(0,10):
t = threading.Thread(target=self.walkMainText,args=(file_list,base_path,logFolder))
threads.append(t)
for t in threads:
t.setDaemon(True)
t.start()