Exemplo n.º 1
0
        public TaskBase GetTask(int Index)
        {
            TaskBase Task = null;

            if (Tasks_[Index].Count > 0)
            {
                Task = Tasks_[Index].Pop();
            }
            return(Task);
        }
Exemplo n.º 2
0
 public void PushTask(int Index, TaskBase Task)
 {
     Device_.GetProfiler().Increase(ProfilerElementType.TaskCount);
     Tasks_[Index].Push(Task);
 }