I'm working on some code that I didn't write and have some core data areas that use [managedObjectContext lock] and [managedObjectContext unlock] while other areas in the code uses @synchronized. I know that @synchronized is a convenience to create a mutex lock so that not 2 threads can acquire the same lock at the same time but are there other differences? Is one better than the other?
Thanks for any insight on this! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software laur...@nemesys-soft.com _______________________________________________ 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