Exemple #1
0
        private void Run()
        {
            while (this.running)
            {
                ISchedulerTask task = this.scheduler.GetTask();

                if (task != null)
                {
                    task.Process();
                }
                Thread.Sleep(3);
            }
        }