• 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: NSData DataWithContentsOfURL within a protocol handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSData DataWithContentsOfURL within a protocol handler


  • Subject: Re: NSData DataWithContentsOfURL within a protocol handler
  • From: Jean Suisse <email@hidden>
  • Date: Thu, 06 Sep 2012 23:22:28 +0200

Yes, I meant GCD. Sorry I missed the part where you told us about supporting 10.5 in your original message.


On 6 sept. 2012, at 20:55, Dan S wrote:

> if you meant using the grand central dispatch, i think that only became available in 10.6, I need to support this for 10.5
>
> On Thu, Sep 6, 2012 at 11:25 AM, Dan S <email@hidden> wrote:
> No, actually I've completely missed that it was answered.  Thank you.
>
> Unfortunatelly, the requester is expecting a return data, error or a redirect. And until the api can be respeced, the sync response has to stay in.  It isn't that it needs to load from network every request, but some volotile data does have to check the server to pull down the changes before serving the data.
>
> I will try to offload the server access to a different thread (though I still need to block the protocol thread because I still have to return the correct data for the current call).
>
> but now I'm also curiouse of what you mewant by posting a block to another dispatch queue ?
>

_______________________________________________

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: 
 >Re: NSData DataWithContentsOfURL within a protocol handler (From: danchik <email@hidden>)
 >Re: NSData DataWithContentsOfURL within a protocol handler (From: Fritz Anderson <email@hidden>)
 >Re: NSData DataWithContentsOfURL within a protocol handler (From: Jean Suisse <email@hidden>)
 >Re: NSData DataWithContentsOfURL within a protocol handler (From: Dan S <email@hidden>)
 >Re: NSData DataWithContentsOfURL within a protocol handler (From: Dan S <email@hidden>)

  • Prev by Date: Re: Collision between Cocoa classes for AU and VST plugins
  • Next by Date: Re: autosavesInPlace and sandbox
  • Previous by thread: Re: NSData DataWithContentsOfURL within a protocol handler
  • Next by thread: Re: NSData DataWithContentsOfURL within a protocol handler
  • Index(es):
    • Date
    • Thread