Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TmfAnalysisElement: Execute analysis in separate thread #64

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bhufmann
Copy link
Contributor

This was done in UI thread and if module.schedule blocks due to waitForCompletion (e.g. of dependent analysis) the UI thread blocks until it's finished.

Signed-off-by: Bernd Hufmann [email protected]

@bhufmann bhufmann marked this pull request as draft April 25, 2024 14:28
@bhufmann
Copy link
Contributor Author

Well, the schedule() call should not block. Calling stateSystem.waitForCompletion() should not be done in the analysis module. The analysis module should be fixed rather than workaround it. For that putting this a draft PR for now.

This was done in UI thread and if module.schedule blocks due to
waitForCompletion (e.g. of dependent analysis) the UI thread blocks
until it's finished.

Change-Id: I5609f7cc06baf4e4c62c43b4fff3363415e3c1cc
Signed-off-by: Bernd Hufmann <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant