0
def pingGetterLoop():
while(1):
pingGetter()
def mainLoop():
root.mainloop()
print("thread two")
threadTwo = Thread(target = mainLoop())
print("thread one")
threadOne = Thread(target = pingGetterLoop())
threadOne.start()
threadTwo.start()
スレッドは決して起動せず、出力は常にthreadOneですが、threadOwの位置を切り替えるとthreadOneは実行されません。私はそれがキューに入っている方法だと思いますが、それを修正する方法はわかりません。何らかの理由でスレッドが1つのスレッドだけがPythonを起動しています