MySQL 9.1.0
Source Code Documentation
|
A class that allows to atomically set new modulo value for fast modulo computations. More...
#include <ut0math.h>
Classes | |
struct | data_t |
Public Member Functions | |
mt_fast_modulo_t () | |
mt_fast_modulo_t (uint64_t mod) | |
fast_modulo_t | load () const |
void | store (uint64_t new_mod) |
Private Attributes | |
Seq_lock< data_t > | m_data |
Additional Inherited Members | |
Private Member Functions inherited from ut::Non_copyable | |
Non_copyable (const Non_copyable &)=delete | |
Non_copyable & | operator= (const Non_copyable &)=delete |
Non_copyable ()=default | |
~Non_copyable ()=default | |
A class that allows to atomically set new modulo value for fast modulo computations.
|
inline |
|
inlineexplicit |
|
inline |
|
inline |