Micha Nelissen wrote:
> Martin Schreiber wrote:
> > Fourthly there is FPC synchronize with the problem that checksynchronize
> > is called once in onidle of then main event loop. One can call
> > application.wakeupguithread to enable processing but there is a race
> > condition.
>
> AFAICS, these are all variants on the TThread.Synchronize "hack". There
> is no race condition in TThread.Synchronize, so why not use this then?
I think the race comes in when you have two competing threads wanting to
synchronize the the main thread. It just hangs.
Thanks!
--
Al
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives