• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: setNeedsDisplay broken in Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >setNeedsDisplay broken in Tiger (From: John Nairn <email@hidden>)

  • Prev by Date: NSRulerView
  • Next by Date: Re: NSDocument and new windows.
  • Previous by thread: Re: setNeedsDisplay broken in Tiger
  • Next by thread: Re: setNeedsDisplay broken in Tiger
  • Index(es):
    • Date
    • Thread