gpredict icon indicating copy to clipboard operation
gpredict copied to clipboard

Run TRSP update in its own thread

Open csete opened this issue 8 years ago • 3 comments

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 avatar Jan 19 '17 21:01 csete

Alternatively, we could use async calls in GIO.

csete avatar Jun 19 '17 16:06 csete

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

gvanem avatar Jan 20 '18 06:01 gvanem

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

csete avatar Jan 20 '18 10:01 csete