File indexing completed on 2025-01-18 09:39:17
0001
0002
0003
0004
0005
0006
0007 #ifndef BOOST_LOCKFREE_PREFIX_HPP_INCLUDED
0008 #define BOOST_LOCKFREE_PREFIX_HPP_INCLUDED
0009
0010
0011
0012
0013
0014
0015
0016 #if defined(__s390__) || defined(__s390x__)
0017 #define BOOST_LOCKFREE_CACHELINE_BYTES 256
0018 #elif defined(powerpc) || defined(__powerpc__) || defined(__ppc__)
0019 #define BOOST_LOCKFREE_CACHELINE_BYTES 128
0020 #else
0021 #define BOOST_LOCKFREE_CACHELINE_BYTES 64
0022 #endif
0023
0024 #include <boost/predef.h>
0025
0026 #if BOOST_ARCH_X86_64 || ( (BOOST_ARCH_ARM >= BOOST_VERSION_NUMBER(8,0,0)) && !BOOST_PLAT_ANDROID )
0027 #define BOOST_LOCKFREE_PTR_COMPRESSION 1
0028 #endif
0029
0030 #endif