C# 클래스 System.Net.TimerThread.TimerQueue

Represents a queue of timers of fixed duration.

상속: System.Collections.Queue
파일 보기 프로젝트 열기: dotnet/corefx

비공개 메소드들

메소드 설명
CreateTimer ( Callback callback, object context ) : Timer

Creates new timers. This method is thread-safe.

Fire ( int &nextExpiration ) : bool

Called by the timer thread to fire the expired timers. Returns true if there are future timers in the queue, and if so, also sets nextExpiration.

TimerQueue ( int durationMilliseconds ) : System.Collections

Create a new TimerQueue. TimerQueues must be created while s_NewQueues is locked in order to synchronize with Shutdown().