Commit 1576ecf9 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

lib/nicbm: use multiset instead of set for timers

set is broken if multiple events have the same timestamp (even though
the actual set members are pointers to the event :-/)
parent 18d52cdb
......@@ -122,7 +122,7 @@ class Runner {
uint64_t main_time_;
Device &dev_;
std::set<TimedEvent *, EventCmp> events_;
std::multiset<TimedEvent *, EventCmp> events_;
std::deque<DMAOp *> dma_queue_;
size_t dma_pending_;
uint64_t mac_addr_;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment