> From: Mat Robichaud [mailto:matrobich...@gmail.com] > > What I am observing is > in the ThreadedSeedGenerator class, the DoGenerateSeed function is stuck > in what appears to be an infinite loop as the Run method is never hit to > increase the counter.
Hmmm. I see this in ThreadedSeedGenerator.cs, line 80-82: #if PORTABLE new AutoResetEvent(false).WaitOne(1); #else Can anybody explain what that was intended to do? The way I see it, a new reference to a new ARE can never be Set() because no other thread has reference to it. As far as I understand, this is the equivalent of while(true) { Thread.Sleep(int.MaxValue); } Unless there's an explanation that will make sense of this, it seems like an obvious bug.