On Mon, 08 Aug 2005 17:43:00 +0200
Luca Olivetti <[EMAIL PROTECTED]> wrote:

> > Yes, I know the issues. Now I wonder how well is USE_SYNCHRONIZE tested 
> > since it's not the default option.

Synchronize doesn't make the LCL thread-safe, it just "works around" the 
problem. I am fairly sure the TThread.Synchronize in itself works okay, but on 
linux it would imply linking with the C library, and that's why there's still a 
define for it IIRC (but I'm not 100% sure).

> I just made a quick test with an old copy of lazarus (0.9.6) I had 
> installed in windows (where USE_SYNCHRONIZE is enabled by default): if I 
> use synchronize I get a lot of 'thread' lines in memo1 insted of one per 
> call.

Works fine for me with lazarus CVS and fpc 2.0.1.

Micha

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

Reply via email to