Bugzilla – Bug 959
Simulation never finishes when using RealtimeSimulatorImpl
Last modified: 2010-08-16 13:44:52 UTC
Created attachment 942 [details] patch for RealtimeSimulatorImpl::RunOneEvent In RealtimeSimulatorImpl::RunOneEvent the value next.key.m_ts is being assigned to the m_currentUid member. Instead next.key.m_uid should be assigned. This provokes RealtimeSimulatorImpl::Cancel to not perform the cancellation of the next(last) event because RealtimeSimulatorImpl::IsExpired returns true when it should not.
I do not have a testcase for this (the existing realtime examples seem to work without the patch) but I haven't seen any side effects on the realtime tests from including this patch, so I think it is a candidate for merging.
changeset: bcf8ecccfe23