• 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: How to optimize image loading during core animation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to optimize image loading during core animation?


  • Subject: Re: How to optimize image loading during core animation?
  • From: Gabriel Zachmann <email@hidden>
  • Date: Fri, 18 Feb 2011 02:13:10 +0100

> GCD is Grand Central Dispatch,

Ah, the part of the kernel that deals with multiple cores, right?

> the "brain" that the OS uses to execute all running processes. You might want to read on that subject in the developer documentation.

Definitely! In particular, since I haven't used multi-threading explicitly myself under Cocoa (just POSIX threads under Unix, and SGI-specific threads, ancient ...)

> You use NSOperationQueue to basically run a thread that will be scheduled and processed by GCD, as opposed to "detachNewThreadSelector:toTarget:withObject:" (and other varieties on the same theme) which just forks a new executing thread for your app.

Oh, I was assuming that *all* threads and processes will get managed by GCD ...

This is probably not the right forum for this question, but why are there different APIs?

Best regards,
Gabriel.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: 
 >How to optimize image loading during core animation? (From: Gabriel Zachmann <email@hidden>)
 >Re: How to optimize image loading during core animation? (From: Tomáš Znamenáček <email@hidden>)
 >Re: How to optimize image loading during core animation? (From: Gabriel Zachmann <email@hidden>)
 >Re: How to optimize image loading during core animation? (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Re: Setting a color in a NSBitmapImageRep to white or black
  • Next by Date: Re: Setting a color in a NSBitmapImageRep to white or black
  • Previous by thread: Re: How to optimize image loading during core animation?
  • Next by thread: Re: How to optimize image loading during core animation?
  • Index(es):
    • Date
    • Thread