• 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: Suggestions for App design
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestions for App design


  • Subject: Re: Suggestions for App design
  • From: Matt Jaffa <email@hidden>
  • Date: Thu, 18 Nov 2004 09:37:45 -0700

Yes, but one of the apps is running as root the other as the logged in user,
the post will only be valid for which ever session posted it.


There is the user session(user logged in) and the root session

And in 10.3 they added the support to post to all sessions.

Matt


On Nov 18, 2004, at 1:03 AM, The Karl Adam wrote:

NSDistributedNotification works on 10.0 -> 10.4 what problem are you having?


On Wed, 17 Nov 2004 18:38:47 -0700, Matt Jaffa <email@hidden> wrote:
Hi,

I have two cocoa apps, one runs as a daemon as root.
The other will by a SystemPreference running as the user that opened it
up.


They both modify a preference file, and when this file is modified I
need the contents to be
loaded into my Kernel extension. But only my daemon has priviliges to
do this, since it is running at root.

So what do you think I should do. I would use NSDistributedNotification
to post to all sessions that the
file was changed and have the root daemon pick this up and do all the
work, but this post to all sessions
for NSDistributedNotification works only on 10.3, and I am hopping my
app will work for 10.2 too.


Any suggestions on how to approach this?

Thanks,
Matt

 _______________________________________________
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



_______________________________________________ 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
  • Follow-Ups:
    • Re: Suggestions for App design
      • From: Finlay Dobbie <email@hidden>
References: 
 >Suggestions for App design (From: Matt Jaffa <email@hidden>)
 >Re: Suggestions for App design (From: The Karl Adam <email@hidden>)

  • Prev by Date: Re: Passing arguments to threads?
  • Next by Date: Re: Passing arguments to threads?
  • Previous by thread: Re: Suggestions for App design
  • Next by thread: Re: Suggestions for App design
  • Index(es):
    • Date
    • Thread