Boost logo

Boost :

From: Christian Henning (chhenning_at_[hidden])
Date: 2007-05-07 13:41:56


>
> > I'd really like to see the MAC address + time generator. I realize
> > that this might be a pain to do in a cross-platform manner, but it
> > would make the library more complete in my eyes, and more likely for
> > me to recommend it to my colleagues. Is there a way that the library
> > could be engineered so that we could provide our own generation
> > implementation?
>
> I agree that it would be very useful to have a time based guid generator.
> I will continue to look in to this. In the meantime, one could write a
> function to create guids based on anything they want, eg:

How useful can seed using MAC address + time be in system with
multiple cores? Shouldn't it be CoreID + time? Just image you have 16
cores and just one MAC address. Is such an assumption valid to make?

Christian


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