Re: Convenience Methods
Re: Convenience Methods
- Subject: Re: Convenience Methods
- From: m <email@hidden>
- Date: Wed, 26 Sep 2007 22:06:21 -0700
On Sep 26, 2007, at 7:23 PM, Erik Buck wrote:
On Sep 26, 2007, at 10:01 PM, Murat Konar wrote:
Wasn't the original motivation for immutable objects to simplify
the implementation of multi-threaded or distributed code?
Maybe. How does it do that?
By obviating the need for synchronization mechanisms (e.g. mutexes)
when sharing immutable objects in separate execution threads. You
can't have a race condition for objects that don't change.
_murat
_______________________________________________
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