// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file.
// Used by std::{push,pop}_heap functions inlinebooloperator<(const mozilla::UniquePtr<Event>& a, const mozilla::UniquePtr<Event>& b) { return a->control_sequence_num() > b->control_sequence_num();
}
void Port::NextEvent(NodeName* from_node, ScopedEvent* event) { auto it = control_event_queues_.find({prev_node_name, prev_port_name}); if (it == control_event_queues_.end()) { return;
}
auto& msg_queue = it->second; // There must always be one entry since we delete the queue after processing // the last element.
DCHECK_GE(msg_queue.size(), 1lu);
if (msg_queue[0]->control_sequence_num() !=
next_control_sequence_num_to_receive) { return;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.