The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Thread.SpinWait Method

Causes a thread to wait the number of times defined by the iterations parameter.

[Visual Basic]
Public Shared Sub SpinWait( _
   ByVal iterations As Integer _
public static void SpinWait(
 int iterations
public: static void SpinWait(
 int iterations
public static function SpinWait(
   iterations : int


A 32-bit signed integer that defines how long a thread is to wait.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Thread Class | Thread Members | System.Threading Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft