On Wed, 13 Oct 2010, Graeme Geldenhuys wrote:

Op 2010-10-13 09:27, Luca Olivetti het geskryf:

They probably changed the implementation later on to avoid this, but old
farts like me still avoid to mix synchronize and waitfor.

That just proves that my assumption was correct. Borland noticed all the
deadlocks occur in spite of there efforts to document it (nice a clearly by
the way). Thus they worked around the problem by using a different Windows
API (MsgWaitForMultipleObjects), to allow for the developers expected usage.

So it is just fitting that FPC changes its implementation under non-Windows
platforms too. ;-)

You can all rejoice and merrily start coding: rev. 16145 contains a fix,
It's been confirmed by Graeme.

Michael.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to