On Mar 12, 2010, at 3:23 PM, Paul Sanders wrote:
> Just a heads-up to say that when I created an NSMutableDictionary on the main 
> thread and then tried to mutate it in a subthread, Snow Leopard threw an 
> exception ("trying to mutate a non-mutable object", or somesuch).  I was, of 
> course, protecting the mutable dictionary against reentrancy problems and the 
> same code worked fine on Leopard and Tiger.  I guess Apple think it's 
> dangerous to let us play with the sharp toys...

"mutating method sent to immutable object", you mean? That suggests your 
NSMutableDictionary object isn't as mutable as you thought. It might not be a 
thread-related bug.


-- 
Greg Parker     [email protected]     Runtime Wrangler


_______________________________________________

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]

Reply via email to