On Aug 10 2013 5:45 PM, andy pugh wrote:
> On 11 August 2013 00:32, Michael Haberler <mai...@mah.priv.at> wrote:
>
>> Flatly, the idea of using locally generated serial numbers to tag a 
>> commands in a shared memory buffer and hoping for no collisions to 
>> occur was - to put it mildly - a lapse in design to start with.
>
> I can think of several ways to make that work, if that was a
> requirement. For example MAC addresses are guaranteed unique (Well,
> unless you deliberately spoof them) as is the process  ID (locally) 
> of
> the creating process, so a hash of MAC, PID and local sequence can
> probably be collision-free.
>
> Not that I am saying that that is sensible, necessary or wise.

there are a number of ways to ensure that you have UID's.  Is it 
necessary it to permanently unique, or is this within a given 
run/uptime/etc.?  That will make a difference.

   EBo --


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to