Boost logo

Boost :

From: Giovanni Piero Deretta (gpderetta_at_[hidden])
Date: 2006-11-14 04:54:22


On 11/14/06, Lassi A. Tuura <lassi.tuura_at_[hidden]> wrote:
> In case it helps the discussion, over the last year or so we've had
> several reports of conflicting GUIDs generated independently in our
> applications.
>
> As far as I know all cases involved multiprocessor systems generating
> GUIDs with MAC address. We never managed to trap this live but our
> analysis indicates exactly the same piece of code executed exactly
> the same millisecond on several processors and at least two managed
> to generate the same 12 bits of randomness there are in GUIDs with
> MAC address.[*]
>

Wouldn't adding the process (or thread) ID to the mix help in this case?

gpd


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