MySQL 9.0.0
Source Code Documentation
|
An atomic uint32
variable, guaranteed to be alone in a CPU cache line.
More...
#include <pfs_global.h>
Public Member Functions | |
PFS_cacheline_atomic_uint32 () | |
Public Attributes | |
std::atomic< uint32 > | m_u32 |
char | m_full_cache_line [PFS_CACHE_LINE_SIZE - sizeof(std::atomic< uint32 >)] |
An atomic uint32
variable, guaranteed to be alone in a CPU cache line.
This is for performance, for variables accessed very frequently.
|
inline |
char PFS_cacheline_atomic_uint32::m_full_cache_line[PFS_CACHE_LINE_SIZE - sizeof(std::atomic< uint32 >)] |
std::atomic<uint32> PFS_cacheline_atomic_uint32::m_u32 |