Sample code
interval = 1e-6
threading.Timer( interval, func ).start()
What is the smallest interval one can use reliably? Experimentation got me 1e-6, but wondering if there is a precise value.
Sample code
interval = 1e-6
threading.Timer( interval, func ).start()
What is the smallest interval one can use reliably? Experimentation got me 1e-6, but wondering if there is a precise value.
It is completely dependent on the OS and python implementation. Generally, you shouldn't expect timer to be high precision. Windows has around a 10-13 ms sleep resolution and I expect it to be a similar case for threading.Timer().