• 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: Using asynchronous APIs with NSOperation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using asynchronous APIs with NSOperation


  • Subject: Re: Using asynchronous APIs with NSOperation
  • From: James Montgomerie <email@hidden>
  • Date: Thu, 24 Feb 2011 15:35:43 +0000

Dave Dribin has written excellent blog posts about this - start here:

http://www.dribin.org/dave/blog/archives/2009/05/05/concurrent_operations/

Jamie

On 24 Feb 2011, at 15:08, Matt DeFoor wrote:

> I have been doing research in preparing to switch from manual
> threading to the usage of NSOperation. Because my operations will be
> executing asynchronous APIs from the CoreServices framework, it
> appears that I'd be better off using concurrent operations. What is
> not clear to me is, if I provide a callback to an asynchronous API, on
> which thread is the callback called?
>
> Also, does anyone have experience using NSOperation with asynchronous
> APIs that take a runloop and a runloop mode as parameters? From my
> research, it is not clear to me how one would pass the required
> runloop parameters in the concurrent operation's start: method.
> Perhaps it is as simple as using the main thread's runloop, but that
> doesn't seem right.
>
> Thanks in advance,
> Matt
> _______________________________________________
>
> 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

_______________________________________________

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: 
 >Using asynchronous APIs with NSOperation (From: Matt DeFoor <email@hidden>)

  • Prev by Date: Re: Help Mixing Objective-C & Objective-C++
  • Next by Date: NSNumberFormatter issue with method -setLocale
  • Previous by thread: Using asynchronous APIs with NSOperation
  • Next by thread: Re: Using asynchronous APIs with NSOperation
  • Index(es):
    • Date
    • Thread