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

Classes

class  SystemThreading_SpinLockDebugView
 

Public Member Functions

 SpinLock (bool enableThreadOwnerTracking)
 
void Enter (ref bool lockTaken)
 
void TryEnter (ref bool lockTaken)
 
void TryEnter (TimeSpan timeout, ref bool lockTaken)
 
void TryEnter (int millisecondsTimeout, ref bool lockTaken)
 
void Exit ()
 
void Exit (bool useMemoryBarrier)
 

Properties

bool IsHeld [get]
 
bool IsHeldByCurrentThread [get]
 
bool IsThreadOwnerTrackingEnabled [get]
 

Private Member Functions

void ContinueTryEnter (int millisecondsTimeout, ref bool lockTaken)
 
void DecrementWaiters ()
 
void ContinueTryEnterWithThreadTracking (int millisecondsTimeout, uint startTime, ref bool lockTaken)
 
void ExitSlowPath (bool useMemoryBarrier)
 

Static Private Member Functions

static int CompareExchange (ref int location, int value, int comparand, ref bool success)
 

Private Attributes

volatile int _owner
 

Detailed Description

Definition at line 8 of file SpinLock.cs.


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