Re: SCDynamicStore ConsoleUser change callback not working on Tiger?
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