lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Feb 8, 2010 at 8:12 PM, Sam Roberts <vieuxtech@gmail.com> wrote:
>
> It's possible libuuid is defaulting to the time-based algorithm on OS
> X, which IIRC uses an internal count so
> consecutive UUIDs are different, but if the system time doesn't
> change, which it might not if 5 quick calls can be made within the
> timer resolution, the UUIDs can be the same for multiple
> almost-simultaneous uses of the generator.

On my Linux box, libuuid (e2fsprogs) starts a daemon (uuidd) that
generates the UUIDs. So, two or more processes do not generate/receive
the same time-based UUID.

cheers
--
bruno