Commit acc4aca49e246a46e03f8978517c9b3d23b1baea

Nick Mathewson 2010-08-30T11:35:06

Fix a bug in our win32 condition implementation The do ... while loop in our wait code could spin while waiting because the event object wasn't reset until there were no longer any events waiting to be woken up. We also want to reset the event object if the count of events to wake up reaches zero. Found by Chris Davis. Fixes bug 3053358.