• 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: Ordering of Completion Handlers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ordering of Completion Handlers


  • Subject: Re: Ordering of Completion Handlers
  • From: Andreas Grosam <email@hidden>
  • Date: Sun, 02 Sep 2012 10:10:49 +0200

On 01.09.2012, at 19:01, Seth Willits wrote:

> On Sep 1, 2012, at 9:53 AM, Andreas Grosam wrote:
>
>> On 31.08.2012, at 19:35, Seth Willits wrote:
>>
>> Thank you very much Seth. It's a feasible approach.
>> Your idea inspired me to a simple solution which is demonstrated in the running example below.
>>
>> There is only one caveat: each pending completion handler occupies a thread.
>
> No, they're stacked up in a serial queue so they're not all in their own threads waiting to be fired.

Yes, you'r right -  I misinterpreted the debugger's thread view. Of course, the completion handler queue would only use one thread  ;)

Andreas
_______________________________________________

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: Ordering of Completion Handlers (From: Andreas Grosam <email@hidden>)
 >Re: Ordering of Completion Handlers (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: NSDocument package saving invalidates wrapper? Options?
  • Next by Date: Re: NSDocument package saving invalidates wrapper? Options?
  • Previous by thread: Re: Ordering of Completion Handlers
  • Next by thread: Re: Ordering of Completion Handlers
  • Index(es):
    • Date
    • Thread