• 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: SCPreferencesSynchronize not doing its job
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SCPreferencesSynchronize not doing its job


  • Subject: Re: SCPreferencesSynchronize not doing its job
  • From: email@hidden
  • Date: 14 Dec 2006 09:04:08 -0000
  • Encoding: 8bit

> How does your code pick up the changes?  Specifically, does your
> application use the SCPreferences APIs to access the changed data?  or
> are you looking for the changes with an alternate set of APIs?

After the tool has run the application does the following repeatedly:

SCPreferencesCreate -> SCPreferencesSynchronize -> SCPreferencesGetValue(prefs, kSCPrefNetworkServices) ->iterate through array looking for key -> CFRelease(prefs)

> Does your application make any blocking calls which might delay when
> you pick up the SCPreference notification?

I do call wait() after AEWP() since the thread can't do anything else until it finishes.


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

This email sent to email@hidden

  • Prev by Date: Re: SCPreferencesSynchronize not doing its job
  • Next by Date: Re: select succeeds... recv blocks
  • Previous by thread: Re: SCPreferencesSynchronize not doing its job
  • Next by thread: Re: SCPreferencesSynchronize not doing its job
  • Index(es):
    • Date
    • Thread