Skip to content

bravesoftdz/Wait

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Wait

Wait Solution (VCL/FMX) Stop the Use of Stupid Sleep function !!

Now with this Solution :

  1. your Main thread Should Wait until your wait function finsh her work without freezing the entire App using the stupid Sleep function !!!
  2. other Threads that are runing outside your MainThread (they still could work without Any Problem!!)
  3. using the method ExecuteWork from ITask we can force the main thread App to wait until Our Task_Thread finish work
  4. the method ExecuteWork from ITask: (runs the task in the calling thread = the main App thread) and this like inject or create Smooth Thread inside the MainAppThread and this what we looking for ...

Please Open The Master Branch !!

please don't use it and read this here: https://en.delphipraxis.net/topic/9316-delphi-thread-itaskexecutework-not-wait-until-task-finish-in-mobile-devices/ and here: https://stackoverflow.com/questions/76569871/delphi-thread-itask-executework-not-wait-until-task-finish-in-mobile-devices

About

Wait Solution (VCL/FMX)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published