原子操作
这些组件为细粒度的原子操作提供,允许无锁并发编程。
类型别名
atomic_bool(C++11) | std::atomic |
---|---|
atomic_char(C++11) | std::atomic |
atomic_schar(C++11) | std::atomic |
atomic_uchar(C++11) | std::atomic |
atomic_short(C++11) | std::atomic |
atomic_ushort(C++11) | std::atomic |
atomic_int(C++11) | std::atomic |
atomic_uint(C++11) | std::atomic |
atomic_long(C++11) | std::atomic |
atomic_ulong(C++11) | std::atomic |
atomic_llong(C++11) | std::atomic |
atomic_ullong(C++11) | std::atomic |
atomic_char8_t(C++20) | std::atomic<char8_t> (typedef) |
atomic_char16_t(C++11) | std::atomic<char16_t> (typedef) |
atomic_char32_t(C++11) | std::atomic<char32_t> (typedef) |
atomic_wchar_t(C++11) | std::atomic<wchar_t> (typedef) |
atomic_int8_t(C++11)(可选) | std::atomic < std::int8_t>(typedef) |
atomic_uint8_t(C++11)(可选) | std::atomic<std::uint8_t> (typedef) |
atomic_int16_t(C++11)(可选) | std::atomic<std::int16_t> (typedef) |
atomic_uint16_t(C++11)(可选) | std::atomic<std::uint16_t> (typedef) |
atomic_int32_t(C++11)(可选) | std::atomic<std::int32_t> (typedef) |
atomic_uint32_t(C++11)(可选) | std::atomic<std::uint32_t> (typedef) |
atomic_int64_t(C++11)(可选) | std::atomic<std::int64_t> (typedef) |
atomic_uint64_t(C++11)(可选) | std::atomic<std::uint64_t> (typedef) |
atomic_int_least8_t(C++11) | std::atomic<std::int_least8_t> (typedef) |
atomic_uint_least8_t(C++11) | std::atomic<std::uint_least8_t> (typedef) |
atomic_int_least16_t(C++11) | std::atomic<std::int_least16_t> (typedef) |
atomic_uint_least16_t(C++11) | std::atomic<std::uint_least16_t> (typedef) |
atomic_int_least32_t(C++11) | std::atomic<std::int_least32_t> (typedef) |
atomic_uint_least32_t(C++11) | std::atomic<std::uint_least32_t> (typedef) |
atomic_int_least64_t(C++11) | std::atomic<std::int_least64_t> (typedef) |
atomic_uint_least64_t(C++11) | std::atomic<std::uint_least64_t> (typedef) |
atomic_int_fast8_t(C++11) | std::atomic<std::int_fast8_t> (typedef) |
atomic_uint_fast8_t(C++11) | std::atomic<std::uint_fast8_t> (typedef) |
atomic_int_fast16_t(C++11) | std::atomic<std::int_fast16_t> (typedef) |
atomic_uint_fast16_t(C++11) | std::atomic<std::uint_fast16_t> (typedef) |
atomic_int_fast32_t(C++11) | std::atomic<std::int_fast32_t> (typedef) |
atomic_uint_fast32_t(C++11) | std::atomic<std::uint_fast32_t> (typedef) |
atomic_int_fast64_t(C++11) | std::atomic<std::int_fast64_t> (typedef) |
atomic_uint_fast64_t(C++11) | std::atomic<std::uint_fast64_t> (typedef) |
atomic_intptr_t(C++11)(可选) | std::atomic<std::intptr_t> (typedef) |
atomic_uintptr_t(C++11)(可选) | std::atomic<std::uintptr_t> (typedef) |
atomic_size_t(C++11) | std::atomic<std::size_t> (typedef) |
atomic_ptrdiff_t(C++11) | std::atomic<std::ptrdiff_t> (typedef) |
atomic_intmax_t(C++11) | std::atomic<std::intmax_t> (typedef) |
atomic_uintmax_t(C++11) | std::atomic<std::uintmax_t> (typedef) |