Boost logo

Boost Users :

Subject: Re: [Boost-users] Thread ID
From: Kraus Philipp (philipp.kraus_at_[hidden])
Date: 2010-07-07 11:50:25


Am 07.07.2010 um 17:38 schrieb Scott McMurray:

> On 7 July 2010 07:47, Kraus Philipp <philipp.kraus_at_[hidden]>
> wrote:
>>
>> I need only a value which I can
>> use for the random seed of all cores and the value must be
>> different on
>> every core.
>>
>
> How about just getting a value from the OS via boost::random_device?
>
> <http://www.boost.org/doc/html/boost/random_device.html>

Is this like /dev/random, because that's can be a better solution
lilke my "thread id"

Thanks a lot

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