lttng.ust: Do not block in UstDebugInfoAnalysisModule
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Thu, 14 Jul 2016 23:59:13 +0000 (19:59 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Fri, 2 Sep 2016 18:15:57 +0000 (14:15 -0400)
Query methods in the module should not call waitForCompletion()
on the analysis, but should return whatever data they have
(or null).

This is because this is called by the aspects, which are called
by the event table, which are called by the UI thread! The UI
should not block while the analysis is waiting construction.

If a specific caller wants to wait for the full data, they can
call waitForCompletion() manually, like the tests do.

Change-Id: I2cf4e3544a8eea71a65f1e16fe7d4b5ba881d5ca
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/77374
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>

No differences found
This page took 0.026965 seconds and 5 git commands to generate.