• 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: Are there any NSUserDefaults keys which aren't valid?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Are there any NSUserDefaults keys which aren't valid?


  • Subject: Re: Are there any NSUserDefaults keys which aren't valid?
  • From: j o a r <email@hidden>
  • Date: Sat, 28 Jan 2006 13:05:17 +0100


On 28 jan 2006, at 12.21, Jonathan del Strother wrote:

Well, FWIW, I've been doing my very best to break threaded NSUserDefaults, and haven't succeeded yet. I've been running multiple threads with tight loops that read and write bunches of junk to NSUserDefaults, and it seems to handle them just fine. I only have a single processor machine - I guess there could be some subtlety that might crop up on dual processors, and AppKit wasn't doing much in the background with my test app, but it appears to work so far.

IMO you need a multi-CPU machine to really have a good chance at catching threading problems.
Things that are really, really, difficult or impossible to reproduce on a single-CPU machine can be trivial to reproducible on a multi-CPU machine.


j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Are there any NSUserDefaults keys which aren't valid? (From: Jonathan del Strother <email@hidden>)
 >Re: Are there any NSUserDefaults keys which aren't valid? (From: j o a r <email@hidden>)
 >Re: Are there any NSUserDefaults keys which aren't valid? (From: Jonathan del Strother <email@hidden>)
 >Re: Are there any NSUserDefaults keys which aren't valid? (From: John Stiles <email@hidden>)
 >Re: Are there any NSUserDefaults keys which aren't valid? (From: j o a r <email@hidden>)
 >Re: Are there any NSUserDefaults keys which aren't valid? (From: Derrick Bass <email@hidden>)
 >Re: Are there any NSUserDefaults keys which aren't valid? (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: Receiving events from the Apple remote?
  • Next by Date: Re: threads or processes?
  • Previous by thread: Re: Are there any NSUserDefaults keys which aren't valid?
  • Next by thread: Re: Are there any NSUserDefaults keys which aren't valid?
  • Index(es):
    • Date
    • Thread