a=M()
a.start()
print dir(a)
import time
time.sleep(3)
import signal
a._Thread__stop()
print a._Thread__stopped True | False
Python线程的终止方法
阅读 54
2022-08-01
a=M()
a.start()
print dir(a)
import time
time.sleep(3)
import signal
a._Thread__stop()
print a._Thread__stopped True | False
相关推荐
精彩评论(0)