tmf: Fix deadlock in analysis module
authorPatrick Tasse <patrick.tasse@gmail.com>
Mon, 21 Apr 2014 14:21:13 +0000 (10:21 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Wed, 23 Apr 2014 21:07:32 +0000 (17:07 -0400)
commit88567ed24dbc7406bd62a93f270f52c156aca550
treed9283872b95bf8e0b7dbf425ded19fa42681be74
parent960b0f5cd4520007a4220d498dcf6f4d43a40be7
tmf: Fix deadlock in analysis module

Deadlock occurred when renaming a trace while its analyses are ongoing.

The refresh of supplementary folders is now done outside of the analysis
synchronization lock.

It is not necessary to trigger the refresh when cancel() is called,
since it will be triggered when the analysis execution is completed
(whether it was cancelled or not).

Change-Id: Id65fe9d57fadab1d17096d7e20bb15f43d30f1c7
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/25323
Tested-by: Hudson CI
Reviewed-by: 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/analysis/TmfAbstractAnalysisModule.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/TmfTraceManager.java
This page took 0.027265 seconds and 5 git commands to generate.