Defined in header <new> | ||
---|---|---|
inline constexpr std::size_t hardware_destructive_interference_size = /*implementation-defined*/; | (1) | (since C++17) |
inline constexpr std::size_t hardware_constructive_interference_size = /*implementation-defined*/; | (2) | (since C++17) |
alignof(std::max_align_t)
alignof(std::max_align_t)
These constants provide a portable way to access the L1 data cache line size.
[static] | returns the number of concurrent threads supported by the implementation (public static member function of std::thread ) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/thread/hardware_destructive_interference_size