Re: Is it always necessary to lock around mutations of an NSMutableDictionary?
Re: Is it always necessary to lock around mutations of an NSMutableDictionary?
- Subject: Re: Is it always necessary to lock around mutations of an NSMutableDictionary?
- From: Pontus Ilbring <email@hidden>
- Date: Fri, 15 Jul 2005 14:02:54 +0200
On 7/15/05, Andrew Garber <email@hidden> wrote:
> In a multithreaded app, is it always necessary to lock around any
> changes you make to an NSMutableDictionary... even if you're only
> going to be adding new key-value pairs (i.e. never changing or
> removing the existing key-value pairs)?
Yes.
http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/articles/CocoaSafety.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden