コード例 #1
0
ファイル: PriorityActionQueue.cs プロジェクト: newshadowk/Lib
        public PriorityActionQueue()
        {
            _tLow           = new BusyTimer(5000);
            _tLow.Elapsed  += _tLow_Elapsed;
            _tHigh          = new BusyTimer(10);
            _tHigh.Elapsed += _tHigh_Elapsed;

            _tLow.Start();
            _tHigh.Start();
        }
コード例 #2
0
ファイル: SyncActionQueue.cs プロジェクト: newshadowk/Lib
 public SyncActionQueue(int checkIntervalMs)
 {
     _t          = new BusyTimer(checkIntervalMs);
     _t.Elapsed += _t_Elapsed;
     _t.Start();
 }
コード例 #3
0
ファイル: RateAction.cs プロジェクト: newshadowk/Lib
 public RateAction(int intervalMs)
 {
     T          = new BusyTimer(intervalMs);
     T.Elapsed += TElapsed;
     T.Start();
 }