Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ReLogic.Threading.AsyncActionDispatcher Class Reference

Public Member Functions

void Queue (Action action)
 
void Start ()
 
void Stop ()
 
void Dispose ()
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Properties

int ActionsRemaining [get]
 
bool IsDisposed [get, private set]
 
bool IsRunning [get]
 

Private Member Functions

void LoaderThreadStart ()
 

Private Attributes

Thread _actionThread
 
readonly BlockingCollection< Action > _actionQueue = new BlockingCollection<Action>()
 
readonly CancellationTokenSource _threadCancellation = new CancellationTokenSource()
 
volatile bool _isRunning
 

Detailed Description

Definition at line 8 of file AsyncActionDispatcher.cs.


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