Method | Description | |
---|---|---|
CreateTimer ( Callback callback, object context ) : |
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().
|