Python Threading — Threads not starting

后端 未结 2 360
情书的邮戳
情书的邮戳 2021-01-13 14:34

I\'m quite new to the threading module, but my problem is that threads appear to not start.I tried to use the currentThread function to see is they are new threads starting

2条回答
  •  感动是毒
    2021-01-13 15:08

    What thread.join() does is it waits for the thread to end what it's doing. To allow other threads to start, move this line to the end of the procedure.

提交回复
热议问题