Re: discovering if a process is busy
Re: discovering if a process is busy
- Subject: Re: discovering if a process is busy
- From: John Stiles <email@hidden>
- Date: Wed, 19 Dec 2007 13:30:36 -0800
The Window Server knows whether a process is idle or not based on
whether it is pulling events from its event loop. Unfortunately, I don't
believe it shares this information—I think it's all hidden behind
private SPIs. Unless they added this in Leopard…?
Shawn Erickson wrote:
On Dec 19, 2007 12:23 PM, justin webster <email@hidden> wrote:
So is there any way to figure out if a process is busy or idle?
I understand there was a way in OS9 to establish the total time a
process has been active but it apparently returns 0 in OSX.
I am basically trying to establish that a process is idle before
sending it keystrokes.
"idle" by whose definition?
-Shawn
_______________________________________________
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
_______________________________________________
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