Move libcds 1.6.0 from SVN
[libcds.git] / cds / compiler / gcc / compiler_barriers.h
1 //$$CDS-header$$
2
3 #ifndef __CDS_COMPILER_GCC_COMPILER_BARRIERS_H
4 #define __CDS_COMPILER_GCC_COMPILER_BARRIERS_H
5
6 #define CDS_COMPILER_RW_BARRIER  __asm__ __volatile__ ( "" ::: "memory" )
7 #define CDS_COMPILER_R_BARRIER   CDS_COMPILER_RW_BARRIER
8 #define CDS_COMPILER_W_BARRIER   CDS_COMPILER_RW_BARRIER
9
10 #endif  // #ifndef __CDS_COMPILER_GCC_COMPILER_BARRIERS_H