performBlockAndWait On Child Context with Private Queue Deadlocks Parent on iOS 7
I have two NSManagedObjectContext s named importContext and childContext . childContext is the child of importContext and both of them are NSPrivateQueueConcurrencyType . To keep things off the main thread, I'm doing a bunch of work on the importContext 's queue. This work involves lots of fetches and saves, so it's convenient to wrap the whole thing inside a performBlockAndWait: of the importContext (it does need to by a synchronous operation because the code I have after the performBlockAndWait depends on its results). At some point during this work, I might need to create new managed