In my .NET application I have to replay a series of sensor events. So I created a thread that fires these events (usually about every 1 - 4 millisecond). I implemented a loo
Your program is not guaranteed to be the sole user of a CPU.
Other processes get slices of the CPU - Thread.Sleep will make a best attempt to resume after the timeout, but if the CPU is busy, it has to wait.
Thread.Sleep