• 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: SCDynamicStore ConsoleUser change callback not working on Tiger?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SCDynamicStore ConsoleUser change callback not working on Tiger?


  • Subject: Re: SCDynamicStore ConsoleUser change callback not working on Tiger?
  • From: Stéphane Sudre <email@hidden>
  • Date: Fri, 6 May 2005 20:58:56 +0200


vendredi 6 mai 2005, à 10:05 AM, Daniel Becker a écrit :

Hi all,

I have a daemon which registers a callback with SCDynamicStore to get notified of console user changes. This seems to work just fine on Panther, but it appears the callback never gets triggered on Tiger. Were there any relevant changes in Tiger's SCDynamicStore that I should be aware of? Any other suggestions? (The relevant code is given below.)

I would check:

- that the daemon is really launched on Tiger (if it's launched by a StartupItem, due to permission enforcement changes, this might be an explanatio).

- that the daemon is launched after CoreServices is enabled. This was a "funny" discovery with Tiger, you can have a StartupItem be launched before CoreServices is enabled and in this case, you can say bye bye to your daemon if it calls some CoreFoundation APIs (for instance related to CFMessagePort).



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >SCDynamicStore ConsoleUser change callback not working on Tiger? (From: Daniel Becker <email@hidden>)

  • Prev by Date: Re: calling open() on an older cd device returns EBUSY??
  • Next by Date: Re: Darwin 8.0 Source Code Available
  • Previous by thread: SCDynamicStore ConsoleUser change callback not working on Tiger?
  • Next by thread: How to create a DLL ?
  • Index(es):
    • Date
    • Thread