示例#1
0
        public PriorityActionQueue()
        {
            _tLow           = new BusyTimer(5000);
            _tLow.Elapsed  += _tLow_Elapsed;
            _tHigh          = new BusyTimer(10);
            _tHigh.Elapsed += _tHigh_Elapsed;

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