[Ns-bugs] [Bug 556] DcfManager does not handle AckTimeout properly when there are multiple queues
code at nsnam.ece.gatech.edu
Wed Apr 29 02:50:29 PDT 2009
--- Comment #6 from Kirill V. Andreev <kirillano at yandex.ru> 2009-04-29 05:50:28 EDT ---
Well, it seems to me that I know why it does not work without GetNanoSeconds ()
When we compare Time and Time - we use the whole 128 bits of data, and when we
call Schedule (...), it uses only 64 bits of data (it uses GetTimeStep ()),
when it inserts an event.
So. it occurs that we schedule event immediately and catch while(1), but the
moments of time we compared before were different, so the following code: (in
m_accessTimeout = Simulator::Schedule (expectedBackoffDelay,
shall be executed all the time.
So, as I think, replacing GetNanoSeconds () with GetTimeStap() is true solution
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs