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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to