forked from libevent/libevent
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
d61b2f3
commit acc4aca
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters