Re: @synchronized([someObject class])
Re: @synchronized([someObject class])
- Subject: Re: @synchronized([someObject class])
- From: "Ken Ferry" <email@hidden>
- Date: Thu, 21 Jun 2007 02:59:41 -0700
On 6/19/07, Chris Suter <email@hidden> wrote:
The way @synchronised works is that it synchronises anything that has
the same pointer value of whatever is in the brackets. It doesn't
matter what the type between the brackets is, so long as it's a pointer.
Hopefully this is clear, but the source code is not the contract.. the
contract is that @synchronized takes an object. The source may be
interesting reading, but you should not rely on the information you
get.
-Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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