/
usr
/
include
/
boost
/
atomic
/
detail
/
/usr/include/boost/atomic/detail
mkdir
upload
Name
Size
Mode
Actions
type_traits/
-
0755
rm
addressof.hpp
1973
0644
edit
dl
rm
aligned_variable.hpp
1853
0644
edit
dl
rm
atomic_flag_impl.hpp
4525
0644
edit
dl
rm
atomic_impl.hpp
56095
0644
edit
dl
rm
atomic_ref_impl.hpp
54073
0644
edit
dl
rm
bitwise_cast.hpp
2691
0644
edit
dl
rm
bitwise_fp_cast.hpp
2509
0644
edit
dl
rm
capabilities.hpp
7520
0644
edit
dl
rm
caps_arch_gcc_aarch32.hpp
1617
0644
edit
dl
rm
caps_arch_gcc_aarch64.hpp
2238
0644
edit
dl
rm
caps_arch_gcc_alpha.hpp
940
0644
edit
dl
rm
caps_arch_gcc_arm.hpp
3573
0644
edit
dl
rm
caps_arch_gcc_ppc.hpp
1581
0644
edit
dl
rm
caps_arch_gcc_sparc.hpp
940
0644
edit
dl
rm
caps_arch_gcc_x86.hpp
2013
0644
edit
dl
rm
caps_arch_msvc_arm.hpp
943
0644
edit
dl
rm
caps_arch_msvc_x86.hpp
1698
0644
edit
dl
rm
caps_gcc_atomic.hpp
7438
0644
edit
dl
rm
caps_gcc_sync.hpp
1715
0644
edit
dl
rm
caps_linux_arm.hpp
963
0644
edit
dl
rm
caps_windows.hpp
880
0644
edit
dl
rm
cas_based_exchange.hpp
1348
0644
edit
dl
rm
classify.hpp
2133
0644
edit
dl
rm
config.hpp
7945
0644
edit
dl
rm
core_arch_operations.hpp
1481
0644
edit
dl
rm
core_arch_operations_fwd.hpp
972
0644
edit
dl
rm
core_arch_ops_gcc_aarch32.hpp
41910
0644
edit
dl
rm
core_arch_ops_gcc_aarch64.hpp
69364
0644
edit
dl
rm
core_arch_ops_gcc_alpha.hpp
27813
0644
edit
dl
rm
core_arch_ops_gcc_arm.hpp
64434
0644
edit
dl
rm
core_arch_ops_gcc_ppc.hpp
39185
0644
edit
dl
rm
core_arch_ops_gcc_sparc.hpp
7480
0644
edit
dl
rm
core_arch_ops_gcc_x86.hpp
39479
0644
edit
dl
rm
core_arch_ops_msvc_arm.hpp
34246
0644
edit
dl
rm
core_arch_ops_msvc_x86.hpp
31645
0644
edit
dl
rm
core_operations.hpp
1322
0644
edit
dl
rm
core_operations_emulated.hpp
8138
0644
edit
dl
rm
core_operations_emulated_fwd.hpp
1024
0644
edit
dl
rm
core_operations_fwd.hpp
942
0644
edit
dl
rm
core_ops_cas_based.hpp
3281
0644
edit
dl
rm
core_ops_gcc_atomic.hpp
12238
0644
edit
dl
rm
core_ops_gcc_sync.hpp
10690
0644
edit
dl
rm
core_ops_linux_arm.hpp
6364
0644
edit
dl
rm
core_ops_windows.hpp
7766
0644
edit
dl
rm
extending_cas_based_arithmetic.hpp
2441
0644
edit
dl
rm
extra_fp_operations.hpp
867
0644
edit
dl
rm
extra_fp_operations_fwd.hpp
1065
0644
edit
dl
rm
extra_fp_ops_emulated.hpp
4864
0644
edit
dl
rm
extra_fp_ops_generic.hpp
7222
0644
edit
dl
rm
extra_operations.hpp
825
0644
edit
dl
rm
extra_operations_fwd.hpp
1034
0644
edit
dl
rm
extra_ops_emulated.hpp
11876
0644
edit
dl
rm
extra_ops_gcc_aarch32.hpp
37869
0644
edit
dl
rm
extra_ops_gcc_aarch64.hpp
47028
0644
edit
dl
rm
extra_ops_gcc_arm.hpp
52836
0644
edit
dl
rm
extra_ops_gcc_ppc.hpp
28665
0644
edit
dl
rm
extra_ops_gcc_x86.hpp
58227
0644
edit
dl
rm
extra_ops_generic.hpp
17217
0644
edit
dl
rm
extra_ops_msvc_arm.hpp
3765
0644
edit
dl
rm
extra_ops_msvc_x86.hpp
37529
0644
edit
dl
rm
fence_arch_operations.hpp
1077
0644
edit
dl
rm
fence_arch_ops_gcc_aarch32.hpp
1701
0644
edit
dl
rm
fence_arch_ops_gcc_aarch64.hpp
1624
0644
edit
dl
rm
fence_arch_ops_gcc_alpha.hpp
1411
0644
edit
dl
rm
fence_arch_ops_gcc_arm.hpp
2769
0644
edit
dl
rm
fence_arch_ops_gcc_ppc.hpp
1773
0644
edit
dl
rm
fence_arch_ops_gcc_sparc.hpp
2002
0644
edit
dl
rm
fence_arch_ops_gcc_x86.hpp
2557
0644
edit
dl
rm
fence_arch_ops_msvc_arm.hpp
1787
0644
edit
dl
rm
fence_arch_ops_msvc_x86.hpp
1998
0644
edit
dl
rm
fence_operations.hpp
1007
0644
edit
dl
rm
fence_operations_emulated.hpp
1294
0644
edit
dl
rm
fence_ops_gcc_atomic.hpp
2399
0644
edit
dl
rm
fence_ops_gcc_sync.hpp
1367
0644
edit
dl
rm
fence_ops_linux_arm.hpp
1792
0644
edit
dl
rm
fence_ops_windows.hpp
1848
0644
edit
dl
rm
float_sizes.hpp
7570
0644
edit
dl
rm
footer.hpp
505
0644
edit
dl
rm
fp_operations.hpp
807
0644
edit
dl
rm
fp_operations_fwd.hpp
1001
0644
edit
dl
rm
fp_ops_emulated.hpp
2714
0644
edit
dl
rm
fp_ops_generic.hpp
2919
0644
edit
dl
rm
futex.hpp
5388
0644
edit
dl
rm
gcc_arm_asm_common.hpp
4031
0644
edit
dl
rm
gcc_atomic_memory_order_utils.hpp
2804
0644
edit
dl
rm
header.hpp
2624
0644
edit
dl
rm
integral_conversions.hpp
4306
0644
edit
dl
rm
interlocked.hpp
34503
0644
edit
dl
rm
intptr.hpp
992
0644
edit
dl
rm
int_sizes.hpp
4987
0644
edit
dl
rm
link.hpp
1534
0644
edit
dl
rm
lock_pool.hpp
4689
0644
edit
dl
rm
memory_order_utils.hpp
1576
0644
edit
dl
rm
once_flag.hpp
1136
0644
edit
dl
rm
ops_gcc_aarch32_common.hpp
1577
0644
edit
dl
rm
ops_gcc_aarch64_common.hpp
1467
0644
edit
dl
rm
ops_gcc_arm_common.hpp
1963
0644
edit
dl
rm
ops_gcc_ppc_common.hpp
2762
0644
edit
dl
rm
ops_msvc_common.hpp
1318
0644
edit
dl
rm
pause.hpp
1494
0644
edit
dl
rm
platform.hpp
7210
0644
edit
dl
rm
storage_traits.hpp
5448
0644
edit
dl
rm
string_ops.hpp
1719
0644
edit
dl
rm
wait_capabilities.hpp
16861
0644
edit
dl
rm
wait_caps_dragonfly_umtx.hpp
1055
0644
edit
dl
rm
wait_caps_freebsd_umtx.hpp
1539
0644
edit
dl
rm
wait_caps_futex.hpp
1027
0644
edit
dl
rm
wait_caps_windows.hpp
2340
0644
edit
dl
rm
wait_operations.hpp
828
0644
edit
dl
rm
wait_operations_fwd.hpp
1071
0644
edit
dl
rm
wait_ops_dragonfly_umtx.hpp
2354
0644
edit
dl
rm
wait_ops_emulated.hpp
3296
0644
edit
dl
rm
wait_ops_freebsd_umtx.hpp
3974
0644
edit
dl
rm
wait_ops_futex.hpp
3416
0644
edit
dl
rm
wait_ops_generic.hpp
4263
0644
edit
dl
rm
wait_ops_windows.hpp
4848
0644
edit
dl
rm
Edit:
/usr/include/boost/atomic/detail/config.hpp
(7945B)
/* * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) * * Copyright (c) 2012 Hartmut Kaiser * Copyright (c) 2014-2018, 2020 Andrey Semashev */ /*! * \file atomic/detail/config.hpp * * This header defines configuraion macros for Boost.Atomic */ #ifndef BOOST_ATOMIC_DETAIL_CONFIG_HPP_INCLUDED_ #define BOOST_ATOMIC_DETAIL_CONFIG_HPP_INCLUDED_ #include <boost/config.hpp> #ifdef BOOST_HAS_PRAGMA_ONCE #pragma once #endif #if defined(__CUDACC__) // nvcc does not support alternatives ("q,m") in asm statement constraints #define BOOST_ATOMIC_DETAIL_NO_ASM_CONSTRAINT_ALTERNATIVES // nvcc does not support condition code register ("cc") clobber in asm statements #define BOOST_ATOMIC_DETAIL_NO_ASM_CLOBBER_CC #endif #if !defined(BOOST_ATOMIC_DETAIL_NO_ASM_CLOBBER_CC) #define BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC "cc" #define BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC_COMMA "cc", #else #define BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC #define BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC_COMMA #endif #if (defined(__i386__) || defined(__x86_64__)) && (defined(__clang__) || (defined(BOOST_GCC) && (BOOST_GCC+0) < 40500) || defined(__SUNPRO_CC)) // This macro indicates that the compiler does not support allocating eax:edx or rax:rdx register pairs ("A") in asm blocks #define BOOST_ATOMIC_DETAIL_X86_NO_ASM_AX_DX_PAIRS #endif #if defined(__i386__) && (defined(__PIC__) || defined(__PIE__)) && !(defined(__clang__) || (defined(BOOST_GCC) && (BOOST_GCC+0) >= 50100)) // This macro indicates that asm blocks should preserve ebx value unchanged. Some compilers are able to maintain ebx themselves // around the asm blocks. For those compilers we don't need to save/restore ebx in asm blocks. #define BOOST_ATOMIC_DETAIL_X86_ASM_PRESERVE_EBX #endif #if defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS) #if !(defined(BOOST_LIBSTDCXX11) && (BOOST_LIBSTDCXX_VERSION+0) >= 40700) /* libstdc++ from gcc >= 4.7 in C++11 mode */ // This macro indicates that there is not even a basic <type_traits> standard header that is sufficient for most Boost.Atomic needs. #define BOOST_ATOMIC_DETAIL_NO_CXX11_BASIC_HDR_TYPE_TRAITS #endif #endif // defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS) #if defined(BOOST_NO_CXX11_ALIGNAS) ||\ (defined(BOOST_GCC) && (BOOST_GCC+0) < 40900) ||\ (defined(BOOST_MSVC) && (BOOST_MSVC+0) < 1910 && defined(_M_IX86)) // gcc prior to 4.9 doesn't support alignas with a constant expression as an argument. // MSVC 14.0 does support alignas, but in 32-bit mode emits "error C2719: formal parameter with requested alignment of N won't be aligned" for N > 4, // when aligned types are used in function arguments, even though the std::max_align_t type has alignment of 8. #define BOOST_ATOMIC_DETAIL_NO_CXX11_ALIGNAS #endif #if defined(BOOST_NO_CXX11_CONSTEXPR) || (defined(BOOST_GCC) && (BOOST_GCC+0) < 40800) // This macro indicates that the compiler doesn't support constexpr constructors that initialize one member // of an anonymous union member of the class. #define BOOST_ATOMIC_DETAIL_NO_CXX11_CONSTEXPR_UNION_INIT #endif #if !defined(BOOST_ATOMIC_DETAIL_NO_CXX11_CONSTEXPR_UNION_INIT) #define BOOST_ATOMIC_DETAIL_CONSTEXPR_UNION_INIT BOOST_CONSTEXPR #else #define BOOST_ATOMIC_DETAIL_CONSTEXPR_UNION_INIT #endif // Enable pointer/reference casts between storage and value when possible. // Note: Despite that MSVC does not employ strict aliasing rules for optimizations // and does not require an explicit markup for types that may alias, we still don't // enable the optimization for this compiler because at least MSVC-8 and 9 are known // to generate broken code sometimes when casts are used. #define BOOST_ATOMIC_DETAIL_MAY_ALIAS BOOST_MAY_ALIAS #if !defined(BOOST_NO_MAY_ALIAS) #define BOOST_ATOMIC_DETAIL_STORAGE_TYPE_MAY_ALIAS #endif #if defined(__GCC_ASM_FLAG_OUTPUTS__) // The compiler supports output values in flag registers. // See: https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html, Section 6.44.3. #define BOOST_ATOMIC_DETAIL_ASM_HAS_FLAG_OUTPUTS #endif #if defined(BOOST_INTEL) || (defined(BOOST_GCC) && (BOOST_GCC+0) < 40700) ||\ (defined(BOOST_CLANG) && !defined(__apple_build_version__) && ((__clang_major__+0) * 100 + (__clang_minor__+0)) < 302) ||\ (defined(__clang__) && defined(__apple_build_version__) && ((__clang_major__+0) * 100 + (__clang_minor__+0)) < 402) // Intel compiler (at least 18.0 update 1) breaks if noexcept specification is used in defaulted function declarations: // error: the default constructor of "boost::atomics::atomic<T>" cannot be referenced -- it is a deleted function // GCC 4.6 doesn't seem to support that either. Clang 3.1 deduces wrong noexcept for the defaulted function and fails as well. #define BOOST_ATOMIC_DETAIL_DEF_NOEXCEPT_DECL #define BOOST_ATOMIC_DETAIL_DEF_NOEXCEPT_IMPL BOOST_NOEXCEPT #else #define BOOST_ATOMIC_DETAIL_DEF_NOEXCEPT_DECL BOOST_NOEXCEPT #define BOOST_ATOMIC_DETAIL_DEF_NOEXCEPT_IMPL #endif #if defined(__has_builtin) #if __has_builtin(__builtin_constant_p) #define BOOST_ATOMIC_DETAIL_IS_CONSTANT(x) __builtin_constant_p(x) #endif #elif defined(__GNUC__) #define BOOST_ATOMIC_DETAIL_IS_CONSTANT(x) __builtin_constant_p(x) #endif #if !defined(BOOST_ATOMIC_DETAIL_IS_CONSTANT) #define BOOST_ATOMIC_DETAIL_IS_CONSTANT(x) false #endif #if (defined(__BYTE_ORDER__) && defined(__FLOAT_WORD_ORDER__) && (__BYTE_ORDER__+0) == (__FLOAT_WORD_ORDER__+0)) ||\ defined(__i386__) || defined(__x86_64__) || defined(_M_IX86) || defined(_M_X64) // This macro indicates that integer and floating point endianness is the same #define BOOST_ATOMIC_DETAIL_INT_FP_ENDIAN_MATCH #endif // Deprecated symbols markup #if !defined(BOOST_ATOMIC_DETAIL_DEPRECATED) && defined(_MSC_VER) #if (_MSC_VER) >= 1400 #define BOOST_ATOMIC_DETAIL_DEPRECATED(msg) __declspec(deprecated(msg)) #else // MSVC 7.1 only supports the attribute without a message #define BOOST_ATOMIC_DETAIL_DEPRECATED(msg) __declspec(deprecated) #endif #endif #if !defined(BOOST_ATOMIC_DETAIL_DEPRECATED) && defined(__has_extension) #if __has_extension(attribute_deprecated_with_message) #define BOOST_ATOMIC_DETAIL_DEPRECATED(msg) __attribute__((deprecated(msg))) #endif #endif // gcc since 4.5 supports deprecated attribute with a message; older versions support the attribute without a message. // Oracle Studio 12.4 supports deprecated attribute with a message; this is the first release that supports the attribute. #if !defined(BOOST_ATOMIC_DETAIL_DEPRECATED) && (\ (defined(__GNUC__) && ((__GNUC__ + 0) * 100 + (__GNUC_MINOR__ + 0)) >= 405) ||\ (defined(__SUNPRO_CC) && (__SUNPRO_CC + 0) >= 0x5130)) #define BOOST_ATOMIC_DETAIL_DEPRECATED(msg) __attribute__((deprecated(msg))) #endif #if !defined(BOOST_ATOMIC_DETAIL_DEPRECATED) && __cplusplus >= 201402 #define BOOST_ATOMIC_DETAIL_DEPRECATED(msg) [[deprecated(msg)]] #endif #if !defined(BOOST_ATOMIC_DETAIL_DEPRECATED) && defined(__GNUC__) #define BOOST_ATOMIC_DETAIL_DEPRECATED(msg) __attribute__((deprecated)) #endif #if !defined(BOOST_ATOMIC_DETAIL_DEPRECATED) && defined(__has_attribute) #if __has_attribute(deprecated) #define BOOST_ATOMIC_DETAIL_DEPRECATED(msg) __attribute__((deprecated)) #endif #endif #if !defined(BOOST_ATOMIC_DETAIL_DEPRECATED) #define BOOST_ATOMIC_DETAIL_DEPRECATED(msg) #endif // In Boost.Atomic 1.73 we deprecated atomic<>::storage() accessor in favor of atomic<>::value(). In future releases storage() will be removed. #if !defined(BOOST_ATOMIC_SILENCE_STORAGE_DEPRECATION) #define BOOST_ATOMIC_DETAIL_STORAGE_DEPRECATED BOOST_ATOMIC_DETAIL_DEPRECATED("Boost.Atomic 1.73 has deprecated atomic<>::storage() in favor of atomic<>::value() and atomic<>::storage_type in favor of atomic<>::value_type. You can define BOOST_ATOMIC_SILENCE_STORAGE_DEPRECATION to disable this warning.") #else #define BOOST_ATOMIC_DETAIL_STORAGE_DEPRECATED #endif #endif // BOOST_ATOMIC_DETAIL_CONFIG_HPP_INCLUDED_
Save
cmd:
run