On 1 Dec 2012, at 20:21, Dave Fernandes wrote:

>> NSPersistentDocument always creates a MOC of type 
>> NSMainQueueConcurrencyType, even if it is created on a background thread. So 
>> as long as things don't go wrong during document opening, everything will be 
>> the same as a document opened on the main thread forever after.
> 
> Whoops! I meant to say NSPersistentDocument always creates a MOC of type 
> **NSConfinementConcurrencyType** -- the legacy type that assumes you know 
> what you are doing and will manage access accordingly.

But the Core Data team have said for years that MOCs created on the main thread 
get some special treatment. Of course they’ve never given us any specifics. The 
docs state very clearly that MOCs (using the non-private queue types) should be 
created on the same thread/queue that they’ll be used on.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to