Re: -getTasksWithCompletionHandler: synchronization
Re: -getTasksWithCompletionHandler: synchronization
- Subject: Re: -getTasksWithCompletionHandler: synchronization
- From: Rick Mann <email@hidden>
- Date: Tue, 24 Feb 2015 13:19:53 -0800
Perfect, thank you.
> On Feb 24, 2015, at 03:26 , Quinn The Eskimo! <email@hidden> wrote:
>
>
> On 23 Feb 2015, at 23:38, Rick Mann <email@hidden> wrote:
>
>> Can I rely on not getting any other background task notifications while my block is executing?
>
> If you configure the delegate queue for your session to be a serial queue [1], you can rely on there only being one block of code running on that queue at a time.
>
> Share and Enjoy
> --
> Quinn "The Eskimo!" <http://www.apple.com/developer/>
> Apple Developer Relations, Developer Technical Support, Core OS/Hardware
>
> [1] In NSOperationQueue terms this means that maxConcurrentOperationCount is 1.
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Macnetworkprog mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
Rick Mann
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden