MySQL 8.0.39
Source Code Documentation
Counter::Shards< COUNT > Struct Template Reference

#include <ut0counter.h>

Public Member Functions

void set_order (std::memory_order memory_order)
 Override default memory order. More...
 

Public Attributes

std::array< Shard, COUNT > m_arr {}
 
std::memory_order m_memory_order {Memory_order}
 

Member Function Documentation

◆ set_order()

template<size_t COUNT = 128>
void Counter::Shards< COUNT >::set_order ( std::memory_order  memory_order)
inline

Override default memory order.

Parameters
[in]memory_ordermemory order

Member Data Documentation

◆ m_arr

template<size_t COUNT = 128>
std::array<Shard, COUNT> Counter::Shards< COUNT >::m_arr {}

◆ m_memory_order

template<size_t COUNT = 128>
std::memory_order Counter::Shards< COUNT >::m_memory_order {Memory_order}

The documentation for this struct was generated from the following file: