• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Stopping a NSRunLoop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Stopping a NSRunLoop (From: Rob Crawford <email@hidden>)
 >Re: Stopping a NSRunLoop (From: "Shawn Erickson" <email@hidden>)
 >Re: Stopping a NSRunLoop (From: Andrei Tchijov <email@hidden>)
 >Re: Stopping a NSRunLoop (From: Mike Blaguszewski <email@hidden>)
 >Re: Stopping a NSRunLoop (From: Andrei Tchijov <email@hidden>)
 >Re: Stopping a NSRunLoop (From: Bill Bumgarner <email@hidden>)
 >Re: Stopping a NSRunLoop (From: Andrei Tchijov <email@hidden>)

  • Prev by Date: Re: [ANN] XCode 2.3
  • Next by Date: Providing global floating window
  • Previous by thread: Re: Stopping a NSRunLoop
  • Next by thread: NIB problem after upgrading to 2.3
  • Index(es):
    • Date
    • Thread