On: Thu, Feb 17, 2011 at 11:41:30AM -0500,Bob Cronin Wrote:

} If "n" virtual machines all running the same code all invoke a PIPE command
} that uses the random stage without a seed specified and they all do it at
} very nearly the same instant in time, will they all generate the same
} sequence of random numbers? I have evidence that suggests this is true (and
} if so, I need to come up with a scheme to add a seed that will be different
} for each virtual machine).

Use the low order half of the TOD clock as a seed.

--
Rich Greenberg  Sarasota, FL, USA richgr atsign panix.com  + 1 941 378 2097
Eastern time.  N6LRT  I speak for myself & my dogs only.    VM'er since CP-67
Canines: Val, Red, Shasta, Zero & Casey (At the bridge)        Owner:Chinook-L
Canines: Red & Cinnar (Siberians)  Retired at the beach  Asst Owner:Sibernet-L

Reply via email to