Re: [concurrency-interest] ThreadLocalRandom.nextSecondarySeed() re-initializes TLR's seed

2014-06-20 Thread Peter Levart
Hi Doug, On 06/19/2014 02:02 PM, Doug Lea wrote: On 06/19/2014 04:48 AM, Peter Levart wrote: Or, even better, why not just using the next value from the seeder sequence for the initial value of secondary seed and avoid interaction with TLR's main seed/probe: Thanks! Or better, just use

Re: [concurrency-interest] ThreadLocalRandom.nextSecondarySeed() re-initializes TLR's seed

2014-06-19 Thread Doug Lea
On 06/19/2014 04:48 AM, Peter Levart wrote: Or, even better, why not just using the next value from the seeder sequence for the initial value of secondary seed and avoid interaction with TLR's main seed/probe: Thanks! Or better, just use mix32: +if ((r =