Exemplo n.º 1
0
        public PriorityActionQueue()
        {
            _tLow           = new BusyTimer(5000);
            _tLow.Elapsed  += _tLow_Elapsed;
            _tHigh          = new BusyTimer(10);
            _tHigh.Elapsed += _tHigh_Elapsed;

            _tLow.Start();
            _tHigh.Start();
        }
Exemplo n.º 2
0
 public SyncActionQueue(int checkIntervalMs)
 {
     _t          = new BusyTimer(checkIntervalMs);
     _t.Elapsed += _t_Elapsed;
     _t.Start();
 }
Exemplo n.º 3
0
 public RateAction(int intervalMs)
 {
     T          = new BusyTimer(intervalMs);
     T.Elapsed += TElapsed;
     T.Start();
 }