[DUG] graphics stops updating

Matt Comb matt at ferndigital.com
Mon Jun 20 22:51:14 NZST 2005


Cool sounds like a critical section I suspect.

Good luck,

Matt.
----- Original Message ----- 
From: "Ross Levis" <ross at stationplaylist.com>
To: "NZ Borland Developers Group - Delphi List" <delphi at ns3.123.co.nz>
Sent: Monday, June 20, 2005 10:48 PM
Subject: Re: [DUG] graphics stops updating


> Yes, it's an object in it's own unit and on the Palette, but the 
> procedure calculating the figures is called by an underlying thread, so 
> same problem I expect.
> 
> However, I just realised there is a mechinism to Lock the threaded 
> procedure from executing by setting a boolean variable.  It sits in a 
> loop at the top of the threaded procedure until the lock is removed.  I 
> think this will do the trick.  I can lock it while the property function 
> is being called.
> 
> Regards,
> Ross.
> 
> ----- Original Message ----- 
> From: "Matt Comb" <matt at ferndigital.com>
> To: "NZ Borland Developers Group - Delphi List" <delphi at ns3.123.co.nz>
> Sent: Monday, June 20, 2005 6:41 PM
> Subject: Re: [DUG] graphics stops updating
> 
> 
> Sorry may have read your email too quickly.
> 
> When you say you have converted your unit into a component? Do you mean
> object? if not how are you creating this component?
> 
> Matt. 
> 
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
> 
>


More information about the Delphi mailing list