code: func (p *PriorityQueue) MoveAllToActiveQueue() {
  	p.lock.Lock()
  	defer p.lock.Unlock()
  	for _, pInfo := range p.unschedulableQ.podInfoMap {
  		pod := pInfo.pod
  		if p.isPodBackingOff(pod) {
  			if err := p.podBackoffQ.Add(pInfo); err != nil {
  				klog.Errorf("Error adding pod %v to the backoff queue: %v", pod.Name, err)
  			}
  		} else {
  			if err := p.activeQ.Add(pInfo); err != nil {
  				klog.Errorf("Error adding pod %v to the scheduling queue: %v", pod.Name, err)
  			}
  		}
  	}
  	p.unschedulableQ.clear()
  	p.moveRequestCycle = p.schedulingCycle
  	p.cond.Broadcast()
  }
docs: // MoveAllToActiveQueue moves all pods from unschedulableQ to activeQ. This
  // function adds all pods and then signals the condition variable to ensure that
  // if Pop() is waiting for an item, it receives it after all the pods are in the
  // queue and the head is the highest priority pod.