• 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: All threads in app periodically blocked
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >All threads in app periodically blocked (From: Seth Willits <email@hidden>)
 >Re: All threads in app periodically blocked (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: All threads in app periodically blocked
  • Next by Date: Core Data, OutlineView, TreeController
  • Previous by thread: Re: All threads in app periodically blocked
  • Next by thread: Re: All threads in app periodically blocked
  • Index(es):
    • Date
    • Thread