Re: UUID method Garbage Collection safe?
Re: UUID method Garbage Collection safe?
- Subject: Re: UUID method Garbage Collection safe?
- From: Bill Bumgarner <email@hidden>
- Date: Wed, 22 Jul 2009 12:47:04 -0700
On Jul 22, 2009, at 12:42 PM, Squ Aire wrote:
Yes I was aware of this method. However, according to the docs it
only guarantees uniqueness for a given process, and doesn't
guarantee it will be "globally" unique, if you know what I mean.
Thanks for the suggestion though.
As the method name implies, it'll be globally unique. The string
contains the mach absolute time, the pid, and some random gunk.
So.... unless another machine executes -globallyUniqueString at
exactly the same time from a process with the same pid while the two
machine's entropy pools are in the same exact state, they'll be unique.
b.bum
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden