0

python thread doc

According to docs about python, the Timer.cancel() will only work if the timer is still in its waiting stage, but we cann't get the timer stage, how can I sure the timer will be shutdown after I execute Timer.cancel() whenever.

thanks.

grwhale
  • 11
  • 3
  • 1
    May be you want to have a look at this answer - https://stackoverflow.com/questions/37565773/how-to-kill-this-threading-timer – Pruthvi Kumar Jul 03 '18 at 02:42
  • Possible duplicate of [How to kill this threading.Timer?](https://stackoverflow.com/questions/37565773/how-to-kill-this-threading-timer) – Reblochon Masque Jul 03 '18 at 03:38

0 Answers0