[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: msg-id
In <Pine.LNX.4.53.0412131028230.17897@xxxxxxxxxxxxxxxx> John Stanley <stanley@xxxxxxxx> writes:
>I read your example. Since the pid is part of the id, the only way that my
>algorithm could duplicate message ids is for TWO processes to have the
>same message id at the same epochtime AND for the locking mechanism that
>prevents duplicate sequences to fail. I know of NO operating system that
>assigns the same pid to two different processes, so even if the sequence
>number fails, the pids will be different.
Consider two computers on the same LAN, mounting files from a common
source by NFS. They might well be using the same pid at the same instant
(once in a thousand years, maybe).
--
Charles H. Lindsey ---------At Home, doing my own thing------------------------
Tel: +44 161 436 6131 Fax: +44 161 436 6133 Web: http://www.cs.man.ac.uk/~chl
Email: chl@xxxxxxxxxxxxxxxx Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K.
PGP: 2C15F1A9 Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5