Anonymous | Login | 2022-06-25 11:45 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000965 | OMNeT++ | IDE / C++ development | public | 2016-08-11 13:35 | 2017-03-02 13:20 | ||||
Reporter | yonatanshe | ||||||||
Assigned To | andras | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | 5.1pre3 | |||||||
Summary | 0000965: wrong message arrival order when changing messages priority | ||||||||
Description | if we send two messages like this: send(simTime(),msg1); //with prio 0 send(simTime(),msg2); //with negative prio the first message will arrive first, due to that line: if (event->getArrivalTime()==simTime() && event->getSchedulingPriority()==0 && (n==0 || h[1]->getArrivalTime()!=simTime())) in cmessageheap | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
(0001332) andras (administrator) 2017-03-02 13:20 |
This was fixed as "sim: cEventHeap: fix: events scheduled for current simulation time w/ negative priority were handled incorrectly" Also see test/core/cEventHeap_stress_1.test |
![]() |
|||
Date Modified | Username | Field | Change |
2016-08-11 13:35 | yonatanshe | New Issue | |
2017-03-02 13:20 | andras | Note Added: 0001332 | |
2017-03-02 13:20 | andras | Status | new => resolved |
2017-03-02 13:20 | andras | Fixed in Version | => 5.1pre3 |
2017-03-02 13:20 | andras | Resolution | open => fixed |
2017-03-02 13:20 | andras | Assigned To | => andras |
Copyright © 2000 - 2022 MantisBT Team |