| 17 | std::array<uint64_t, count> keys; |
| 18 | |
| 19 | void ready() { |
| 20 | LOG_INFO("Get ready"); |
| 21 | |
| 22 | std::mt19937 rng(std::random_device{}()); |
| 23 | std::uniform_int_distribution<uint64_t> nd; |
| 24 | |
| 25 | for (auto &x : keys) { |
| 26 | x = nd(rng); |
| 27 | } |
| 28 | LOG_INFO("Random key generated"); |
| 29 | } |
| 30 | |
| 31 | template <template <class, class> class OC> |
| 32 | void *task(void *arg) { |