> [myObject saveDataToFile]; What does this method actually do? From the sounds of it your analysis has determined that running this from a thread other than the main one is problematic.
If so, first thing is to figure out why the thread matters at all. If you can't make it thread safe, then perform your work asynchronously as in your first case, but wrap the call to save in a dispatch back to the main queue. _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
