mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
6 lines
186 B
C++
6 lines
186 B
C++
|
#pragma once
|
||
|
#include <pcg_random.hpp>
|
||
|
|
||
|
/// Fairly good thread-safe random number generator, but probably slow-down thread creation a little.
|
||
|
extern thread_local pcg64 thread_local_rng;
|