Nessesary, yes 
When you can live with some access violations you dont know from where
you dosend have to use it


> -----Ursprüngliche Nachricht-----
> Von: Luca Olivetti [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 8. August 2005 08:33
> An: [email protected]
> Betreff: Re: [lazarus] Thread Communications
> 
> En/na Micha Nelissen ha escrit:
> > On Mon, 01 Aug 2005 13:14:54 +0200
> > Luca Olivetti <[EMAIL PROTECTED]> wrote:
> >
> >
> >>En/na Micha Nelissen ha escrit:
> >>
> >>
> >>>TThread.Synchronize is to let the main thread (GUI thread) do some
> >>>work (in particular, manipulate GUI controls like edits,
comboboxes,
> >>>progressbars, etc.)
> >>
> >>I don't know if I did anything wrong, but I had to do those kind of
> >>calls *without* synchronize, otherwise the updates (to a tmemo IIRC)
> >>wouldn't show/wouldn't work at all, at least under Linux.
> >
> >
> > You need to define USE_SYNCHRONIZE when compiling the LCL. Do:
> >
> > make OPT="-dUSE_SYNCHRONIZE" clean all
> >
> > in the lcl/ directory, and relink(compile) your project.
> 
> Thanks, but is really necessary? I mean, without synchronize it seems
to
> be working fine, and I've been "stress testing" the program for a long
> while.
> 
> Bye
> 
> --
> Luca Olivetti
> Wetron Automatización S.A. http://www.wetron.es/
> Tel. +34 93 5883004      Fax +34 93 5883007
> 
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives
> 


_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to