• 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: Multiple persistent store coordinators gotchas?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple persistent store coordinators gotchas?


  • Subject: Re: Multiple persistent store coordinators gotchas?
  • From: Dave Dribin <email@hidden>
  • Date: Thu, 16 Oct 2008 15:59:11 -0500

Hi Melissa,

Thanks for your help.  A quick question on this stale data statement:

On Oct 15, 2008, at 5:52 PM, Melissa J. Turner wrote:
Stale data is unlikely to be a problem unless you're expecting to load it significantly before you actually need it, which would be the same if you were loading it into a separate context on the same coordinator.

Just to clarify, stale data is only an issue for long-lived MOCs, not long-lived PSCs. For example, if we create 1 PSC for all the background threads to share for the lifetime of the app, but only create (or reset) MOCs just before report generation, there's minimal chance of stale data. These new/reset MOCs will always have fresh data?


-Dave

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Multiple persistent store coordinators gotchas?
      • From: Dave Dribin <email@hidden>
References: 
 >Multiple persistent store coordinators gotchas? (From: Dave Dribin <email@hidden>)
 >Re: Multiple persistent store coordinators gotchas? (From: "Melissa J. Turner" <email@hidden>)

  • Prev by Date: Re: Length of a filename
  • Next by Date: Re: Animating view transitions with Core Animation (problems with BasicCocoaAnimations sample)
  • Previous by thread: Re: Multiple persistent store coordinators gotchas?
  • Next by thread: Re: Multiple persistent store coordinators gotchas?
  • Index(es):
    • Date
    • Thread