[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

394: Re: Unique id's

[Full Header] [Plain Text]
From: "Jon A. Lambert" <jlsysinc@ix.netcom.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Sat, 12 Apr 1997 00:51:29 -0400
Organization: Kanga.Nu
> From: clawrenc@cup.hp.com
> 
> In <199704100440.EAA378790@out1.ibm.net>, on 04/09/97 
>    at 07:00 AM, cg@ami-cg.GraySage.Edmonton.AB.CA (Chris Gray) said:
> 
> >Some systems specifically avoid re-using ids, in order to better
> >catch dangling pointers.
> 
> Yeah, but I figure that the date check for the ObjectID (time_T value
> comparison of requested vs received objects) should pretty well trap
> most of them.
> 
Isn't it possible, especially in a multi-threaded system, to generate identical
IDs if you depend on date/time stamps?   I'm currently generating IDs just like 
Cold, except I'm using a big int and never fill in the holes.