Use a separate thread to initialize models for lazarus examples. (#1270)

So that the main thread is not blocked and the user interface is responsive.
This commit is contained in:
Fangjun Kuang
2024-08-18 14:59:48 +08:00
committed by GitHub
parent 8c087d9110
commit f93f0ca94d
7 changed files with 405 additions and 301 deletions

View File

@@ -11,7 +11,7 @@ uses
athreads,
{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms, unit1, my_worker
Forms, unit1, my_worker, my_init
{ you can add units after this };
{$R *.res}