• 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: UIGraphicsBeginImageContext thread safety
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UIGraphicsBeginImageContext thread safety


  • Subject: Re: UIGraphicsBeginImageContext thread safety
  • From: Andrew <email@hidden>
  • Date: Fri, 2 Oct 2009 17:29:02 +1300

Hi glenn,
what is it doing that renders it not thread safe, does anyone know?


At the very least, it needs to call UIGraphicsPushContext to set the current "ui graphics context", which is documented as needing to be done on the main thread (which implies that there is a single, global "ui graphics context" variable use by all of UIKit to indicate where all UIKit based drawing should go).





right, that makes sense. that is probably a speed optimisation for the gui drawing.


ah well, its a shame, its a lovely simple api.

thanks.

- Andrew


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >UIGraphicsBeginImageContext thread safety (From: Andrew <email@hidden>)
 >Re: UIGraphicsBeginImageContext thread safety (From: glenn andreas <email@hidden>)

  • Prev by Date: Re: odd behavior with NSError?
  • Next by Date: Changing an NSToolbar Identifier
  • Previous by thread: Re: UIGraphicsBeginImageContext thread safety
  • Next by thread: Re: Deleting CalTasks through an Array.
  • Index(es):
    • Date
    • Thread