kernel/src/runtime/Queue.h
/**
         * Pops an element off of the front of the queue.
         */
Pops an element off of the front of the queue.
Pops an element off of the front of the queue .
T pop() {
            REQUIRE(!this->empty(), "cannot pop empty queue");
            auto value = this->storage[0];
            this->storage.remove(0);
            return value;
        }
T pop ( ) { REQUIRE ( ! this -> empty ( ) , " " ) ; auto value = this -> storage [ 0 ] ; this -> storage . remove ( 0 ) ; return value ; }
Pops an element off of the front of the queue.
Pops an element off of the front of the queue .
// we must have an element // get the value from the list and remove it // return it