• 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: identifying if an application is not responding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: identifying if an application is not responding


  • Subject: Re: identifying if an application is not responding
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 08 Jul 2012 12:22:30 -0700

On Jul 8, 2012, at 11:07 AM, Devarshi Kulshreshtha wrote:

> Is there any way to identify if an application is 'not responding' like
> how it shows in 'Force Quit' window when an application is unresponsive.

I don't think there is a Cocoa API for it. The next lower-level API is (I think) Processes.h in HIServices. Below that is the Unix-level stuff, for which the usual advice is to look up and read the source of the 'top' tool in the Darwin open source repository, to see how it does what it does.

—Jens
_______________________________________________

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: 
 >identifying if an application is not responding (From: Devarshi Kulshreshtha <email@hidden>)

  • Prev by Date: Re: vm keeps increasing when in a rigorous loop
  • Next by Date: Re: vm keeps increasing when in a rigorous loop
  • Previous by thread: identifying if an application is not responding
  • Next by thread: Arrgh IB constraints
  • Index(es):
    • Date
    • Thread