Class SleepDelay
A delay that really waits: Sleep(int), rounded up to whole milliseconds, for a millisecond or more, and a spin on Stopwatch for a shorter wait, which the scheduler cannot keep. A sleep can run over by the scheduler's own latency.
public sealed class SleepDelay : IDelay
- Inheritance
-
SleepDelay
- Implements
- Inherited Members
Methods
DelayMicros(uint)
Waits.
public void DelayMicros(uint micros)
Parameters
microsuintHow long, in microseconds.