Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.TimerThread Class Reference

Classes

class  InfiniteTimer
 
class  InfiniteTimerQueue
 
class  Queue
 
class  Timer
 
class  TimerNode
 
class  TimerQueue
 

Package Functions

delegate void Callback (Timer timer, int timeNoticed, object context)
 

Static Package Functions

static Queue GetOrCreateQueue (int durationMilliseconds)
 

Private Types

enum  TimerThreadState { Idle , Running , Stopped }
 

Static Private Member Functions

static void Prod ()
 
static void ThreadProc ()
 
static bool IsTickBetween (int start, int end, int comparand)
 

Static Private Attributes

static readonly LinkedList< WeakReferences_queues = new LinkedList<WeakReference>()
 
static readonly LinkedList< WeakReferences_newQueues = new LinkedList<WeakReference>()
 
static int s_threadState = 0
 
static readonly AutoResetEvent s_threadReadyEvent = new AutoResetEvent(initialState: false)
 
static readonly ManualResetEvent s_threadShutdownEvent = new ManualResetEvent(initialState: false)
 
static readonly WaitHandle[] s_threadEvents = new WaitHandle[2] { s_threadShutdownEvent, s_threadReadyEvent }
 
static int s_cacheScanIteration
 
static readonly Hashtable s_queuesCache = new Hashtable()
 

Detailed Description

Definition at line 9 of file TimerThread.cs.


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