Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Threading.Interlocked Class Reference

Public Member Functions

static int Exchange (ref int location1, int value)
 
static long Exchange (ref long location1, long value)
 
static float Exchange (ref float location1, float value)
 
static double Exchange (ref double location1, double value)
 
static ? object Exchange ([NotNullIfNotNull("value")] ref object? location1, object? value)
 
static int CompareExchange (ref int location1, int value, int comparand)
 
static long CompareExchange (ref long location1, long value, long comparand)
 
static float CompareExchange (ref float location1, float value, float comparand)
 
static double CompareExchange (ref double location1, double value, double comparand)
 
static ? object CompareExchange (ref object? location1, object? value, object? comparand)
 
static void MemoryBarrier ()
 

Static Public Member Functions

static int Increment (ref int location)
 
static long Increment (ref long location)
 
static int Decrement (ref int location)
 
static long Decrement (ref long location)
 
static T Exchange< T > ([NotNullIfNotNull("value")] ref T location1, T value)
 
static T CompareExchange< T > (ref T location1, T value, T comparand)
 
static int Add (ref int location1, int value)
 
static long Add (ref long location1, long value)
 
static long Read (ref long location)
 
static void MemoryBarrierProcessWide ()
 
static uint Increment (ref uint location)
 
static ulong Increment (ref ulong location)
 
static uint Decrement (ref uint location)
 
static ulong Decrement (ref ulong location)
 
static uint Exchange (ref uint location1, uint value)
 
static ulong Exchange (ref ulong location1, ulong value)
 
static IntPtr Exchange (ref IntPtr location1, IntPtr value)
 
static uint CompareExchange (ref uint location1, uint value, uint comparand)
 
static ulong CompareExchange (ref ulong location1, ulong value, ulong comparand)
 
static IntPtr CompareExchange (ref IntPtr location1, IntPtr value, IntPtr comparand)
 
static uint Add (ref uint location1, uint value)
 
static ulong Add (ref ulong location1, ulong value)
 
static ulong Read (ref ulong location)
 
static int And (ref int location1, int value)
 
static uint And (ref uint location1, uint value)
 
static long And (ref long location1, long value)
 
static ulong And (ref ulong location1, ulong value)
 
static int Or (ref int location1, int value)
 
static uint Or (ref uint location1, uint value)
 
static long Or (ref long location1, long value)
 
static ulong Or (ref ulong location1, ulong value)
 

Package Functions

static void ReadMemoryBarrier ()
 

Private Member Functions

static int ExchangeAdd (ref int location1, int value)
 
static long ExchangeAdd (ref long location1, long value)
 
static void _MemoryBarrierProcessWide ()
 

Detailed Description

Definition at line 8 of file Interlocked.cs.


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