My program needs to generate many random integers in some range (int min, int max). Each call will have a different range. What is a good (preferably thread-safe) w
You can use one default_random_engine per thread using Thread Local Storage.
default_random_engine
I can not tell you how to correctly use TLS since it is OS dependent. The best source you can use is to search through the internet.