Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Threading.LowLevelLifoSemaphore Class Referencesealed

Classes

struct  CacheLineSeparatedCounts
 
struct  Counts
 

Public Member Functions

 LowLevelLifoSemaphore (int initialSignalCount, int maximumSignalCount, int spinCount, Action onWait)
 
bool Wait (int timeoutMs, bool spinWait)
 
void Release (int releaseCount)
 
bool WaitCore (int timeoutMs)
 
void ReleaseCore (int count)
 
void Dispose ()
 

Private Member Functions

bool WaitForSignal (int timeoutMs)
 
void Create (int maximumSignalCount)
 
 ~LowLevelLifoSemaphore ()
 

Private Attributes

CacheLineSeparatedCounts _separated
 
readonly int _maximumSignalCount
 
readonly int _spinCount
 
readonly Action _onWait
 
IntPtr _completionPort
 

Detailed Description

Definition at line 7 of file LowLevelLifoSemaphore.cs.


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