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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user