Playground gets permission error

2016-09-30 Thread Rick Mann
I'm testing some code I wrote to set the isExcludedFromBackup flag on a URL. I tried putting the code into a playground to test various uses of it. But when it goes to set the flag, it gets an error: Error setting isExcludedFromBackup: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have

Re: Mystery Threads

2016-09-30 Thread Quincey Morris
On Sep 30, 2016, at 02:57 , Gerriet M. Denkmann wrote: > > dispatch_apply(8,…): > My function is running 3090 msec and blocked 970 ms. > And with dispatch_apply(20,000,…): > My function is running 196 msec and blocked 27 ms. In a way, this is good news, because a difference

Re: Mystery Threads

2016-09-30 Thread Jonathan Mitchell
> On 30 Sep 2016, at 10:57, Gerriet M. Denkmann wrote: > > > > But I just cannot see anything which forces my function to run 16 times > longer in the first case. > > Any ideas where to look for a reason?

Re: Mystery Threads

2016-09-30 Thread Gerriet M. Denkmann
> On 29 Sep 2016, at 16:05, Roland King wrote: > > >> On 29 Sep 2016, at 16:59, Gerriet M. Denkmann wrote: >> >> >>> On 29 Sep 2016, at 15:34, Quincey Morris >>> wrote: >>> >> >> Well, I count this as (bigArea = 4