tmf: Avoid hanging when waiting on a cancelled analysis
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Wed, 5 Feb 2014 22:09:25 +0000 (17:09 -0500)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Thu, 6 Feb 2014 15:21:32 +0000 (10:21 -0500)
commit0d3a54a39afe440c6521ffa3caf6cda7aa2a2c9f
treeb18cf7d67982fd980a111f05ef8051f44b6d008d
parent12a4bfe6c5c2ee7a5f32152a76f96171144ab0fb
tmf: Avoid hanging when waiting on a cancelled analysis

Also bumped the timeout on await() to 500 ms. It means that, on
average, the user will have to wait 250 ms after clicking on
the cancel button actually cancels the running analysis. 1 ms
was burning CPU cycles for nothing.

Change-Id: Id716c761a60b97d53d6809d0457e4f30b63f655e
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/21590
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/analysis/TmfAbstractAnalysisModule.java
This page took 0.028063 seconds and 5 git commands to generate.