Esempio n. 1
0
        public void Stop_TasksHost()
        {
            TasksHost.Enqueue <MyTask>();
            TasksHost.Enqueue <MyTask>();
            TasksHost.Enqueue <MyTask>();
            TasksHost.Enqueue <MyTask>();
            TasksHost.Enqueue <StressTask>();

            TasksHost.Stop();
        }
Esempio n. 2
0
 public static void ClassCleanup()
 {
     TasksHost.Stop();
 }