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

Run TRSP update in its own thread #44

Open
csete opened this issue Jan 19, 2017 · 3 comments
Open

Run TRSP update in its own thread #44

csete opened this issue Jan 19, 2017 · 3 comments
Assignees
Milestone

Comments

@csete
Copy link
Owner

csete commented Jan 19, 2017

Currently the TRSP update function runs in the main GUI thread and this can cause the GUI to freeze. TRSP update should run in its own thread and report progress and status through appropriate channels.

@csete csete self-assigned this Jun 19, 2017
@csete
Copy link
Owner Author

csete commented Jun 19, 2017

Alternatively, we could use async calls in GIO.

@csete csete modified the milestone: v2.3 Jul 13, 2017
@gvanem
Copy link
Contributor

gvanem commented Jan 20, 2018

Since we now use WinInet API for remote files on Windows, this can be done using a callback set in InternetSetStatusCallback() and calling InternetOpen (..., INTERNET_FLAG_ASYNC). Ref:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa385096(v=vs.85).aspx

@csete
Copy link
Owner Author

csete commented Jan 20, 2018

We need to look at GIO. The module needs a complete rewrite anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants