Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ReLogic.OS.Windows.STATaskInvoker Class Reference

Public Member Functions

void Dispose ()
 

Static Public Member Functions

static void Invoke (Action action)
 
static T Invoke< T > (Func< T > action)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Private Member Functions

 STATaskInvoker ()
 
void InvokeAndWait (Action action)
 
void TaskThreadStart ()
 
void Shutdown ()
 

Private Attributes

Thread _staThread
 
volatile bool _shouldThreadContinue
 
BlockingCollection< Action > _staTasks = new BlockingCollection<Action>()
 
object _taskInvokeLock = new object()
 
object _taskCompletionLock = new object()
 
bool disposedValue
 

Static Private Attributes

static STATaskInvoker Instance
 

Detailed Description

Definition at line 7 of file STATaskInvoker.cs.


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