线程初始化

code

import threading
import time
exitFlag
= 0 class myThread (threading.Thread): def __init__(self, threadID, name, counter): threading.Thread.__init__(self) self.threadID = threadID

 

 

 

 

 

 

 

 

 

 

posted @ 2020-12-23 22:38  anobscureretreat  阅读(79)  评论(0编辑  收藏  举报