Re: identifying if an application is not responding
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