C# Class System.Net.TimerThread

Acts as countdown timer, used to measure elapsed time over a sync operation.

Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Private Methods

Method Description
GetOrCreateQueue ( int durationMilliseconds ) : Queue

Queue factory. Always synchronized.

IsTickBetween ( int start, int end, int comparand ) : bool

Helper for deciding whether a given TickCount is before or after a given expiration tick count assuming that it can't be before a given starting TickCount.

Prod ( ) : void

Internal mechanism used when timers are added to wake up / create the thread.

ThreadProc ( ) : void

Thread for the timer. Ignores all exceptions. If no activity occurs for a while, the thread will shut down.

TimerThread ( ) : System.Collections