16 static std::atomic_uint64_t mOffset;
17 static thread_local std::default_random_engine mGenerator;
DeterministicClient random number generator.
Definition: worker_thread.h:14
uint64_t GetRandom() noexcept
Generate a unique random number for each container.
Definition: worker_thread.cpp:11
static const uint64_t cOffsetStep
Offset step that WorkerThread takes to generate the next unique random number.
Definition: worker_thread.h:21