$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: John Maddock (john_at_[hidden])
Date: 2003-12-05 07:51:33
> > I am working on boost::random. I am using this in boost::thread. Whether
> > boost::random is thread safe. If not how to make it thread safe.
> >
> I did not take a look at boost::random, but I'm pretty sure it's not
thread-safe.
> To make it thread-safe, create a helper function, and make that helper
function
> thread-safe.
> Then, never call boost::random directly.
I would have said that is was thread safe: as long as you don't try and
share the same object between two different threads.
John.