• 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
NSURLDownload delegate methods seperate thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURLDownload delegate methods seperate thread


  • Subject: NSURLDownload delegate methods seperate thread
  • From: Colin Deasy <email@hidden>
  • Date: Tue, 8 Sep 2009 19:03:03 +0000
  • Importance: Normal

Hey,
Is anyone aware of a way to receive NSURLDownload's delegate methods on a separate thread, i.e. not the main one? I am using an NSOperationQueue to manage them but at the moment I need to use the performSelectorOnMainThread method to get it too work. The problem with this is that it drives the kernel task crazy reaching about 30% of CPU cycles. Curiously this has only happened since upgrading to SL, when NSOperationQueue changed behaviour (not that I am dissing it, GCD rocks!)

ThanksColin
_________________________________________________________________
With Windows Live, you can organize, edit, and share your photos.
http://www.microsoft.com/ireland/windows/windowslive/products/photo-gallery-edit.aspx_______________________________________________

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

  • Follow-Ups:
    • Re: NSURLDownload delegate methods seperate thread
      • From: Randall Meadows <email@hidden>
References: 
 >NSImage with multiple representation sizes (From: Benjamin Rister <email@hidden>)
 >Re: NSImage with multiple representation sizes (From: Ken Ferry <email@hidden>)
 >Re: NSImage with multiple representation sizes (From: Benjamin Rister <email@hidden>)

  • Prev by Date: Re: NSImage with multiple representation sizes
  • Next by Date: Re: Anti-aliasing in Snow Leopard (10.6) PDFView
  • Previous by thread: Re: NSImage with multiple representation sizes
  • Next by thread: Re: NSURLDownload delegate methods seperate thread
  • Index(es):
    • Date
    • Thread