tmf.core: Make getParamater synchronized
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Sat, 22 Oct 2016 12:10:16 +0000 (08:10 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Tue, 1 Nov 2016 14:15:57 +0000 (10:15 -0400)
commit3127c6b89883269a59ac307fcd1cfc37828128e2
tree2aedf0314a020d1f789c16067076d4b5e3bee916
parent976af99f412987fd0bf96dc36644ed2dadef9bdf
tmf.core: Make getParamater synchronized

The setter (setParameter) is synchronized, since getParameter is not
atomic, it needs to to also be synchronized to avoid racy situations.

Change-Id: I1c7eb0a2fde364efd7e879a82411f91fae0deab2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/83739
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
analysis/org.eclipse.tracecompass.analysis.graph.core/src/org/eclipse/tracecompass/analysis/graph/core/criticalpath/CriticalPathModule.java
tmf/org.eclipse.tracecompass.tmf.core.tests/stubs/org/eclipse/tracecompass/tmf/tests/stubs/analysis/TestAnalysis.java
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/analysis/TmfAbstractAnalysisModule.java
This page took 0.024316 seconds and 5 git commands to generate.