Re: Stopping a NSRunLoop
Re: Stopping a NSRunLoop
- Subject: Re: Stopping a NSRunLoop
- From: Bill Bumgarner <email@hidden>
- Date: Tue, 23 May 2006 14:01:02 -0700
On May 23, 2006, at 1:40 PM, Andrei Tchijov wrote:
I am not sure that your statement about "configureAsServer" is 100%
correct. In my case when run loop "primed" with
"configureAsServer", "run" method will "run forever", otherwise it
will exit immediately. So I guess it does change something
(application in question used to intercept NSWorkspace notifications
and forward them to server background process. All it does is
register bunch of addObserver:selector:name:object: and invoke
configureAsServer ).
I can guarantee you with 100% certainty that -configureAsServer does
nothing. Any change in behavior that you saw was due to some other
change in your code.
I do appreciate that my solution is "sub-par", but as I mentioned
before, this is best I could google and it works.
Depends on your definition of "work". If I install an application on
my system and it wakes up and eats CPU every second for no useful
reason, it immediately heads to the trash can until a version is
released that fixes the problem.
b.bum
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden