[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: luuid vs. forks
- From: Bruno Silvestre <bruno.silvestre@...>
- Date: Mon, 8 Feb 2010 22:30:17 -0200
On Mon, Feb 8, 2010 at 8:12 PM, Sam Roberts <email@example.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.