• 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: CoreData and insert in multithread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData and insert in multithread


  • Subject: Re: CoreData and insert in multithread
  • From: malcom <email@hidden>
  • Date: Wed, 30 Jan 2008 23:27:00 +0100

---- ops, fixed a mistake....

Hello guys. I'm working with core data and multithread. I need to save
a series of objects (each object can have parent and childs) inside a
store. I receive these object into a stream ordered (so I'll
receive before a parent and then related child/s)
I know if I try to insert object in a second thread I need to perform
a save in main thread in order to see these new objects. However this
operation can be expensive (because in order to link parent/childs I
need to perform a save for each new insertion). Is there a way to
avoid it and allows core data to see new insertion made in a second
thread?
_______________________________________________

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

References: 
 >CoreData and insert in multithread (From: malcom <email@hidden>)

  • Prev by Date: CoreData and insert in multithread
  • Next by Date: CoreData and NSOperation
  • Previous by thread: CoreData and insert in multithread
  • Next by thread: re: CoreData and insert in multithread
  • Index(es):
    • Date
    • Thread