Boost logo

Boost :

From: John Torjo (john.lists_at_[hidden])
Date: 2003-12-04 17:44:39


Narendran wrote:
> Hi,
>
> 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.

Best,
John

> Thanks & Regards,
> Narendran.
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk