• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: pointer assignment inherently atomic ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: pointer assignment inherently atomic ? (From: "Chase" <email@hidden>)

  • Prev by Date: Re: Cocoa and PICT
  • Next by Date: Re: User Shutdown or Logout
  • Previous by thread: Re: pointer assignment inherently atomic ?
  • Next by thread: Re: pointer assignment inherently atomic ?
  • Index(es):
    • Date
    • Thread