View Single Post
Old 03-12-2024, 09:00 AM   #6
pazos
cosiņeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,288
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by Maimun Ahmed View Post
Maybe I am wrong but then, how is the read timer counting down in the background while we continue to use the ui.
Yes, you're totally wrong here.

You're confusing the hability to schedule tasks to run in the future with multithreading. They are not the same.

Any tasks scheduled with any of the UIManager facilities (see doc in https://koreader.rocks/doc/modules/ui.uimanager.html) will be executed sequentially on the UIThread, so if one of such tasks takes hours to complete the UI will be blocked for that time too.
pazos is offline   Reply With Quote