Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Threading.SpinWait Struct Reference

Public Member Functions

void SpinOnce ()
 
void SpinOnce (int sleep1Threshold)
 
void Reset ()
 

Static Public Member Functions

static void SpinUntil (Func< bool > condition)
 
static bool SpinUntil (Func< bool > condition, TimeSpan timeout)
 
static bool SpinUntil (Func< bool > condition, int millisecondsTimeout)
 

Static Package Attributes

static readonly int SpinCountforSpinBeforeWait = (Environment.IsSingleProcessor ? 1 : 35)
 

Properties

int Count [get, set]
 
bool NextSpinWillYield [get]
 

Private Member Functions

void SpinOnceCore (int sleep1Threshold)
 

Private Attributes

int _count
 

Detailed Description

Definition at line 3 of file SpinWait.cs.


The documentation for this struct was generated from the following file: