Re: All threads in app periodically blocked
Re: All threads in app periodically blocked
- Subject: Re: All threads in app periodically blocked
- From: Seth Willits <email@hidden>
- Date: Mon, 23 May 2016 09:37:51 -0700
> On May 22, 2016, at 12:44 PM, Quincey Morris <email@hidden> wrote:
>
> On May 22, 2016, at 10:48 , Seth Willits <email@hidden> wrote:
>>
>> Can anyone think of what I should look for to figure out *why* they're blocked?
>
> Do these operations go on long enough that you can see the usage stabilize in Activity Monitor? If so, what are the user and system percentages of CPU while it’s running?
The whole process goes on for a long time. CPU usage is like 5-10% system, 10-15% user. These delays are periodic throughout the entire process.
> On a different front, is it necessary that you use NSOperations? Can you switch to plain GCD instead?
I just switched from GCD. The operations do make it simpler to manage in this case as I'm leverage dependencies across various queues and avoiding the need for multiple semaphores as before.
--
Seth Willits
_______________________________________________
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