Changeset 2833 for branches/0.9-stable/yat/random/random.h
- Timestamp:
- Sep 14, 2012, 9:42:09 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.9-stable/yat/random/random.h
r2804 r2833 28 28 29 29 #include <boost/concept_check.hpp> 30 #include <boost/thread.hpp> 30 31 #include <boost/thread/tss.hpp> 31 32 … … 193 194 mutable boost::thread_specific_ptr<gsl_rng> rng_; 194 195 mutable unsigned long seed_; 196 // guard needs to be mutable because major mission for it is to protect seed_ against multi-access, and seed_ is mutable... 197 mutable boost::mutex mutex_; 195 198 }; 196 199
Note: See TracChangeset
for help on using the changeset viewer.