code: def pop(self):
          
          if not self.is_empty():
              _, process = heappop(self._waiting)
              if _logger is not None:
                  self._log(INFO, "pop", process=process.local.name)
              process.resume()
docs: Removes the top process from the queue, and resumes its execution. For an empty queue, this method is a no-op.
          This method may be invoked from anywhere (its use is not confined to processes, as method `join()` is).