Why have an arbitrary interval of 10 ms?  Presumably it should work with any interval, in which case an interval of 0 ms would express that more clearly.  If my presumption is incorrect, is there a way to make this less fragile than using an arbitrary interval length (since that presumably can vary depending on machine config, etc).