> From: Edward Ned Harvey (bouncycastle) > > #if PORTABLE > new AutoResetEvent(false).WaitOne(1); > #else > > Can anybody explain what that was intended to do?
Sorry. I see it now. The 1 argument specifies 1ms timeout. So this is effectively the same as Sleep(1) I tried to reproduce your problem with the infinite loop in TSG, but it didn't occur on my system. I'm using crypto.pcl2, running in windows. Can you tell us any more, to help reproduce the problem?