[Lazarus] (no subject)

Steve Smith stevie at collector.org
Tue Sep 21 13:52:02 CEST 2010


  On 09/19/2010 11:45 AM, Graeme Geldenhuys wrote:
>
> If you understand the possible problems, it is rather a question of:
> "Why did they take so long to deprecate the flaw".  Imagine your
> thread has locked a major resource, now you suspend that thread. A
> instant deadlock occurs because that thread will never release that
> resource.
>
I used threads very often and I never used "suspend" and friends for 
synchronizing. I do use critical sectrions, events and messages. IMHO 
this makes a lot more sense.

-Michael




More information about the Lazarus mailing list