Boost logo

Boost Users :

Subject: [Boost-users] thread-safe boost::random_device / boost:mt19937
From: Philipp Kraus (philipp.kraus_at_[hidden])
Date: 2012-12-20 11:26:41


Hello,

I'm using boost::random_device & boost::mt19937 for creating random numbers.
I would like to use both within different threads, are both object thread-safe,
so I can use it without any thread locking?

Thanks

Phil


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net