Bootstrap

Python线程的终止方法

a=M()
a.start()
print dir(a)
import time
time.sleep(3)
import signal
a._Thread__stop()

print a._Thread__stopped True | False

;