Skip to content

Draft: (core) Enable wraparound of Event uid

Peter Barnes requested to merge pdbj/ns-3-dev:event-uid into master

This is an alternative to !957

In contrast to that MR, this MR:

  • Adds an expired field to EventImpl (which already had a cancelled field)
  • Refactors DefaultSimulatorImpl::IsExpired() to use the new field. This removes the assumption that smaller UIDs execute first for events tied in time.
  • Changes event uid's to 64 bits
  • Implements an Increment function for UIDs which wraps around correctly.

Merge request reports