[fpc-pascal] TThread.Synchronize
Florian Klaempfl
florian at freepascal.org
Sat Feb 26 12:30:18 CET 2005
chromdildo wrote:
> Hello guys.
>
> I don't want to annoy you again..
> ...but what's up with TThread ?
>
> TThread.Synchronize(@myfunction); //simply doesn't call myfunction
>
> I can call it directly but not via synchronize.
> If not synchronized, gtk+ blows.
>
> What am I doing wrong :(
You need to call CheckSynchronize in your main loop. However, Sychronize
is broken in the 1.9.8 release.
>
>
> best regards and thanks for help
> ./chrom
> ----------------------------------------
> linux-2.4, fpc 1.9.8, lazarus cvs
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list