Re: setNeedsDisplay broken in Tiger
Re: setNeedsDisplay broken in Tiger
- Subject: Re: setNeedsDisplay broken in Tiger
- From: Cameron Hayne <email@hidden>
- Date: Tue, 24 May 2005 13:14:41 -0400
On 24-May-05, at 12:31 PM, John Nairn wrote:
Or is there another way to have a thread wait until a view has
completed an update?
The best way is to use NSLock to synchronize the threads.
But I think you can get away with using your own flag - e.g. with a
BOOL variable declared as 'volatile' and depend on the atomicity of
reading & writing this variable.
--
Cameron Hayne
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden