27 #include <boost/thread/tss.hpp> 34 static boost::thread_specific_ptr<std::mt19937> rng;
35 if (rng.get() ==
nullptr) {
36 std::random_device rd;
37 rng.reset(
new std::mt19937(rd()));
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
std::mt19937 & getGlobalRng()
Declares the global pseudorandom number generator (PRNG) for NFD.