public static void UpdateWaitingList() { // Dequeue from the waiting list. if (FirstWaitingRequest == null) { return; } // Grab the one at the front: HttpRequest waiting = FirstWaitingRequest; // Pop it from the list: waiting.Remove(true); // And queue it up in the main list: Queue(waiting); }