Hi there,

briefly speaking, I have a Core Data Entity bearing a to-many relationship 
(therefore an NSSet * iVar). A dialog on the main thread can modify this set, 
while it may be simultaneously enumerated on a background GCD thread. I have 
therefore used the managed object context provided mutex to protect the 
respective snippets.

I am improving the background thread, replacing the enumeration by a fetch 
operation. Do I still need the lock, or is it provided internally by the Core 
Data framework?

Thanks,
Vincent_______________________________________________

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

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

Reply via email to