re: CoreData Statement Still Active (CoreData Multithreading)
re: CoreData Statement Still Active (CoreData Multithreading)
- Subject: re: CoreData Statement Still Active (CoreData Multithreading)
- From: Ben Trumbull <email@hidden>
- Date: Thu, 22 May 2008 13:48:49 -0700
Dex,
This error message is pretty much always a multi-threading bug.
-tryLock before a fetch request is not one of the recommended
patterns. Consider reviewing the Core Data Programming Guide's
multithreading section.
You should try the Debug Libraries from ADC. These allow you to
enable a user default that will programmatically enforce Core Data's
threading guidelines. See:
<http://lists.apple.com/archives/cocoa-dev/2008/Mar/msg01098.html>
--
-Ben
_______________________________________________
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