En/na Micha Nelissen ha escrit:
On Mon, 08 Aug 2005 08:33:17 +0200
Luca Olivetti <[EMAIL PROTECTED]> wrote:
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.
Yes, it's necessary because the LCL is not multi-thread safe.
Ok, I thought it was.
The chances of two threads changing the same variable in the same object is
very low so you probably won't notice, but that doesn't mean there is no bug.
Yes, I know the issues. Now I wonder how well is USE_SYNCHRONIZE tested
since it's not the default option.
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