On Fri, Jun 09, 2000 at 11:23:58PM -0700, Andrey A. Chernov wrote:
> > would be the way to go: 64^6 = 2^36 possibilities which is nice...
> 
> 1) Just totally opposite: mixing random with non-random sources you'll get 
> into collision much faster then with random source only.  2) Yet, of course, 
> the code handles collisions.

Part 2) need to be clarified too.  The code _attempt_ to handle collision, 
but collision race can occurse between two processes checking for collision, 
so getpid() insertion prevents this.  I am not against of removing 
getpid() code totally, just against of "randomization" of it, suggested in 
the patch, which increase collision chance.

-- 
Andrey A. Chernov
<[EMAIL PROTECTED]>
http://ache.pp.ru/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to