gtk intf: comments

git-svn-id: trunk@21402 -
This commit is contained in:
mattias 2009-08-22 19:44:59 +00:00
parent f9b8d50251
commit 4bd95ef5b3

View File

@ -573,6 +573,10 @@ end;
{$ifdef Unix}
procedure TGtkWidgetSet.PrepareSynchronize(AObject: TObject);
{ This method is the WakeMainThread of the unit classes.
It is called in TThread.Synchronize to wake up the main thread = LCL GUI thread.
see: TGtkWidgetSet.InitSynchronizeSupport
}
var
thrash: char;
begin
@ -638,6 +642,10 @@ begin
end;
procedure TGtkWidgetSet.InitSynchronizeSupport;
{ When a thread calls its Synchronize, it calls
WakeMainThread (defined in the unit classes).
Set
}
begin
{ TThread.Synchronize ``glue'' }
WakeMainThread := @PrepareSynchronize;