void Kill([NotNull] PriorityAwareQueue <Process> queue)
 {
     while (!queue.IsEmpty)
     {
         Kill(queue.Dequeue());
     }
 }
        public MultiqueueManager(uint mainFiber, [CanBeNull] IPriorityConverter converter = null)
        {
            MainFiber = mainFiber;
            Converter = converter ?? new ExponentPriorityConverter();

            Queues = new PriorityAwareQueue <Process> [Process.PriorityLevelsNumber];
            for (int index = 0; index < Process.PriorityLevelsNumber; index += 1)
            {
                Queues[index] = new PriorityAwareQueue <Process>(index);
            }
        }