Re: Ordering of Completion Handlers
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