On Dec 8, 2012, at 10:06 AM, Steve Sisak <sgs-li...@codewell.com> wrote:

> 
> Further, if writes were not complete at the end of the block, the construct 
> would be essentially useless for its intended purpose.

By the way, you're wrong about this too. All @synchronized does is act as a 
mutex around a code block. It does not cause the compiler to reorder 
instructions and issue memory barriers in such a way that initialization is 
guaranteed to precede assignment from the perspective of all threads.

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to