• 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: NSConnection and Spinning Cursor Of The Death ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSConnection and Spinning Cursor Of The Death ...


  • Subject: Re: NSConnection and Spinning Cursor Of The Death ...
  • From: email@hidden (mikevannorsdel)
  • Date: Sun, 02 Dec 2001 15:02:59 -0700

You can try and define your remote method as:

- (oneway void)quitDaemon;

This way the message is sent without the sender waiting for the remote
method to return.



On 12/2/01 2:41 PM, "Thomas Deniau" <email@hidden> wrote:

> I'm using a NSConnection to control a daemon. So I send the daemon a message
> via DO so that it quits.
> Everything seems to work at first : I receive
> NSConnectionDidDieNotification, the daemon quits ... But then my app locks
> up (spinning cursor).
>
> So if I know that the connection will be lost when I send a message via DO,
> is there a way to avoid this lockup ?


References: 
 >NSConnection and Spinning Cursor Of The Death ... (From: Thomas Deniau <email@hidden>)

  • Prev by Date: Re: Newbie
  • Next by Date: Re: shell command to obtain ip address
  • Previous by thread: NSConnection and Spinning Cursor Of The Death ...
  • Next by thread: Re: NSConnection and Spinning Cursor Of The Death ...
  • Index(es):
    • Date
    • Thread