Because someone else will set it.
You generally start a thread in one part of your application and continue to do whatever you do:
thread = TimerClass()
thread.start()
# Do your stuff
The thread does it's stuff, while you do your stuff. If you want to terminate the thread you just call:
thread.event.set()
And the thread will stop.
So the answer is: event, in this case, is not used for controlling the thread from inside the thread object itself. It is used for controlling the thread from outside (from the object which holds the reference to the thread).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…