0

I've seen this post Python periodic timer interrupt and understand that

threading.Timer( t, function).start()

is the most common solution for a non blocking delay or timer in Python.

I have a couple of questions:

  1. Can you have several of these running at the same time?

  2. How would you cancel-reset a specific running Timer?

mkrieger1
  • 14,486
  • 4
  • 43
  • 54
Bachalo
  • 6,497
  • 25
  • 88
  • 184
  • 1
    Concerning (1): what happened when you tried to use more than one? – mkrieger1 Jun 11 '20 at 17:16
  • 1
    Does this answer your question? [Cancellable threading.Timer in Python](https://stackoverflow.com/questions/9812344/cancellable-threading-timer-in-python) – mkrieger1 Jun 11 '20 at 17:28

0 Answers0