• 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: FileWrapper & iCloud
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FileWrapper & iCloud


  • Subject: Re: FileWrapper & iCloud
  • From: Mike Abdullah <email@hidden>
  • Date: Sat, 01 Dec 2012 22:05:55 +0000

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 (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


  • Follow-Ups:
    • Re: FileWrapper & iCloud
      • From: Dave Fernandes <email@hidden>
References: 
 >Re: FileWrapper & iCloud (From: Mike Abdullah <email@hidden>)
 >Re: FileWrapper & iCloud (From: Dave Fernandes <email@hidden>)
 >Re: FileWrapper & iCloud (From: Dave Fernandes <email@hidden>)

  • Prev by Date: Re: NSUserUnixTask and com.apple.foundation.UserScriptService crash
  • Next by Date: Re: FileWrapper & iCloud
  • Previous by thread: Re: FileWrapper & iCloud
  • Next by thread: Re: FileWrapper & iCloud
  • Index(es):
    • Date
    • Thread