common: Concurrency fixes in TraceCompassActivator
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Mon, 15 Jun 2015 18:33:48 +0000 (14:33 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Mon, 29 Jun 2015 23:21:08 +0000 (19:21 -0400)
commit0b1faf490e4f89c8321e02c43e5109fd25e60119
treef46627ad7a0e882376061f245f728bde6bb2ccfb
parent34c87ae82bea1925fa20a105a63bb6a1b9fab7ee
common: Concurrency fixes in TraceCompassActivator

The TraceCompassActivator class (which can be used as base for any
Activator in every plugin) tracks all the loaded activators in a map.

Add a bit of synchronization to make sure this map cannot be victim
of unexpected concurrent accesses.

Change-Id: Ia94899dfb140a5bf740e3cc6343f6d43579dd777
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/50752
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
common/org.eclipse.tracecompass.common.core/src/org/eclipse/tracecompass/common/core/TraceCompassActivator.java
This page took 0.025255 seconds and 5 git commands to generate.