Re: pointer assignment inherently atomic ?
Re: pointer assignment inherently atomic ?
- Subject: Re: pointer assignment inherently atomic ?
- From: Andrew Merenbach <email@hidden>
- Date: Fri, 10 Aug 2007 14:28:08 -0700
Hi, Chase,
Is there any reason that you can't ensure your program variable's
safety using @synchronized in an accessor?
Cheers,
Andrew
On Aug 10, 2007, at 1:38 PM, Chase wrote:
On August 10, 2007, Scott Ribe wrote:
Even if pointer assignment is atomic, you have to consider cache
coherency
across multiple cores.
my understanding is that cache coherency is taken care of at the
hardware level and that only very low-level stuff like kernel
drivers and such would need to worry about it.
this particular app would fall under the "multimedia" umbrella...
video playback and such, but nothing kernel-deep.
knowing this, is it possible that pointer assignment will be
effectively atomic even across multiple cores?
thanks.
- chase
_______________________________________________
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
_______________________________________________
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