16thread_local TRandom* sThreadSimRandom =
nullptr;
22TRandom*
simRandom() {
return sThreadSimRandom ? sThreadSimRandom : gRandom; }
void setSimRandom(TRandom *random)
Install the transport generator of the calling thread (not owned); nullptr reverts to gRandom.