Re: Barrier / atomic operations on multiprocessors.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ray Whitmer wrote:

> Is there a generic way to access efficient platform-appropriate memory
> barriers (also compare and swap) in any arbitrary C or C++ program
> compiled under gcc (not just a compiler ordering directive, but
> extending to hardware guarantees)?
> 
> If it is documented somewhere, I apologize.

Well, there's <http://gcc.gnu.org/onlinedocs/gcc/Atomic-Builtins.html>.

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux