SpinWait()

Thread::SpinWait(int) method

Waits for specific number of loop iterations.

static void System::Threading::Thread::SpinWait(int iterations)

Arguments

ParameterTypeDescription
iterationsintHow many loops to wait for.

See Also