• 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
CoreData: Multiple Threads and Merging Object Contexts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData: Multiple Threads and Merging Object Contexts


  • Subject: CoreData: Multiple Threads and Merging Object Contexts
  • From: Axel Katerbau <email@hidden>
  • Date: Thu, 21 Jul 2005 12:55:24 +0000
  • Organization: Objectpark Software

Hi,

we have the need for having more than one thread working on a set of related data. The "main" thread for the user interface and a second long running thread for getting new data from the net.


We use separate managed object contexts for each thread (as advised by Chris Hanson). But how to avoid "could not merge changes" errors by merging manually (merge policies do not work in our case)?



What good pratices do you suggest (e.g. how to merge, when to merge)?

Best regards,
 Axel

_______________________________________________
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


  • Prev by Date: Re: [somewhat OT] A life after being bounced from this list ?
  • Next by Date: Re: NSBezierPath Fill and Stroke woes;
  • Previous by thread: Re: [somewhat OT] A life after being bounced from this list ?
  • Next by thread: Catching system signals and exception handling
  • Index(es):
    • Date
    • Thread