Performs a single spin.
Namespace:
System.Threading
Assembly:
System.Threading (in System.Threading.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub SpinOnce |
| C# |
|---|
public void SpinOnce() |
Remarks
This is typically called in a loop, and may change in behavior based on the number of times a
SpinOnce()()() has been called thus far on this instance.