Menu

Commit [r6795]  Maximize  Restore  History

make method consolidateData() work synchronized data to ensure we're not consolidating the same data twice. That in itself wouldn't be that bad, as it is deterministic, but it could happen that multiple threads try to write into the same datastructure, which could lead to problems if the data structures themselves are not thread safe (e.g. in the case of the TravelTimeDataHashMap).

mrieser 2009-05-06

changed /matsim/trunk/src/org/matsim/core/trafficmonitoring/LinkToLinkTravelTimeCalculator.java
changed /matsim/trunk/src/org/matsim/core/trafficmonitoring/TravelTimeCalculator.java
/matsim/trunk/src/org/matsim/core/trafficmonitoring/LinkToLinkTravelTimeCalculator.java Diff Switch to side-by-side view
Loading...
/matsim/trunk/src/org/matsim/core/trafficmonitoring/TravelTimeCalculator.java Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB