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

Make engine processing asynchronous #6

Open
aiongg opened this issue Mar 21, 2023 · 0 comments
Open

Make engine processing asynchronous #6

aiongg opened this issue Mar 21, 2023 · 0 comments
Labels
engine enhancement New feature or request windows

Comments

@aiongg
Copy link
Owner

aiongg commented Mar 21, 2023

Communication between the Windows client app and the engine is currently synchronous. This is particularly problematic for longer database operations like initialization, which causes a very short hiccup that blocks the UI thread (it used to be half a second and is now <100ms). The client/engine communication should happen asynchronously to prevent any UI blocking.

This is the method in the Windows client application that calls the engine library and needs to be revised: https://github.com/aiongg/khiin/blob/master/windows/tip/EngineController.cpp#L187-L200

@aiongg aiongg added enhancement New feature or request windows engine labels Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine enhancement New feature or request windows
Projects
None yet
Development

No branches or pull requests

1 participant