tmf: Send relevant signals in a separate thread
authorBernd Hufmann <Bernd.Hufmann@ericsson.com>
Mon, 13 Jan 2014 20:29:41 +0000 (15:29 -0500)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Fri, 17 Jan 2014 12:12:42 +0000 (07:12 -0500)
commit089a48722c47e87b9af7659823890fac05efbc33
tree771ce6e325b578cabbf30e71f7075afb6a8f0784
parentd91063d0521e63bc6613556e53ae0b8fd8ef4992
tmf: Send relevant signals in a separate thread

This reverts commit be7fc7f31ae52da752bf021e828b9992ebfc44e4.
Instead the TmfTraceUpdatedSignal is sent using the
broadcastAsync() method of the TmfComponent in the case
that the trace index already exists. This ensures that the
the TmfTraceRangeUpdatedSignal is handled by all signal
handlers before handling TmfTraceUpdateSignal.

Also, the TmfTraceRangeUpdated signal is sent using the
broadcastAsync() method instead of spawning an own thread.

Change-Id: Idfb6660da90cbe7f21db8d838e2f151c008756a0
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/20591
Tested-by: Hudson CI
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/TmfTrace.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/indexer/checkpoint/TmfCheckpointIndexer.java
This page took 0.027314 seconds and 5 git commands to generate.