Re: CoreData and Threading

2011-11-20 Thread patrick machielse
Op 19 nov. 2011, om 17:00 heeft Frederic Testuz het volgende geschreven: At the moment I cannot find an acceptable way to merge changes from the main thread into the background thread context. Is there a solution for my use case? I could probably try to extend a solution with locking, but

Re: CoreData and Threading

2011-11-20 Thread patrick machielse
Op 19 nov. 2011, om 05:29 heeft Quincey Morris het volgende geschreven: 2 - Through 'NSManagedObjectContextObjectsDidChangeNotification' The objectIDs of the changed / inserted / deleted objects can be collected from this notification and forwarded to the background thread. According to

Re: CoreData and Threading

2011-11-19 Thread Frederic Testuz
Le 19 nov. 2011 à 00:21, patrick machielse a écrit : I'm struggling a bit with multi-threading approaches for CoreData… I need to _continuously_ merge changes made in the _main_ thread into a context held by a background thread. Most (all?) discussions about multi-threading in CoreData

CoreData and Threading

2011-11-18 Thread patrick machielse
I'm struggling a bit with multi-threading approaches for CoreData… I need to _continuously_ merge changes made in the _main_ thread into a context held by a background thread. Most (all?) discussions about multi-threading in CoreData discuss merging changes from a _finite_ operation

Re: CoreData and Threading

2011-11-18 Thread Quincey Morris
On Nov 18, 2011, at 15:21 , patrick machielse wrote: I need to _continuously_ merge changes made in the _main_ thread into a context held by a background thread. Most (all?) discussions about multi-threading in CoreData discuss merging changes from a _finite_ operation in the _background_