python学习吧 关注:15,785贴子:76,281
  • 0回复贴,共1

各位大佬好,我应该怎样结束线程

只看楼主收藏回复

大佬们好,我在进程中创建了一些线程可是当进程结束时线程好像没有结束,我应该如何来结束线程,求大佬支招,小白求指导。
thread.start_new_thread(self.io_show,(1,))
thread.start_new_thread(self.GJ,(1,))
thread.start_new_thread(self.laser,(1,))
thread.start_new_thread(self.diaoyong1,(1,))
这个是我创建的线程


IP属地:陕西来自Android客户端1楼2021-09-01 16:16回复