Not responding in activity viewer
Not responding in activity viewer
- Subject: Not responding in activity viewer
- From: Alexander Cohen <email@hidden>
- Date: Tue, 2 Mar 2010 16:12:59 -0500
Hello,
I've got a very simple launch Agent that always shows up as not-responding in the activity monitor on 10.4 and 10.5 This is issue does not happen on 10.6. The app is very simple and does not do much. It has no UI but does link against Carbon since it uses GetNextProcess. It has 2 threads, the main thread which pretty much just sits there in the main runLoop, and the other that does some work then sleeps for 2 seconds and repeats.
Here some code:
void*
otherThread()
{
while (1)
{
doSOmeStuff()
sleep(2);
}
return NULL;
}
int
main( int argc, char* argv[] )
{
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
startOtherThread();
[[NSRunLoop currentRunLoop] run];
[pool release];
}
Any ideas why my app appears non-responsive to the activity monitor?
thx
AC_______________________________________________
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