Re: How to implement readonly property
Re: How to implement readonly property
- Subject: Re: How to implement readonly property
- From: Marco S Hyman <email@hidden>
- Date: Fri, 07 Dec 2012 20:38:29 -0800
On Dec 7, 2012, at 8:18 PM, Steve Sisak <email@hidden> wrote:
> I'm interested if there are an any issued I'm missing in the Obj-C, @synchronized(self), instance variable case.
Your pattern can fail if this line
_someDictionary = temp;
isn't atomic.
_______________________________________________
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