Ejemplo n.º 1
0
        void SetTimer()
        {
            // Note, called under _stateLock

#if !WAITABLE_TIMER
            _timer.Start(_connectionSchedule.NextInterval);
#else
            _timer.Change(_connectionSchedule.NextInterval, Timeout.InfiniteTimeSpan);
#endif
        }
Ejemplo n.º 2
0
 void SetTimer()
 {
     // Note, called under _stateLock
     _timer.Start(_connectionSchedule.NextInterval);
 }