Our condition variable emulation under Windows is imperfect, which
seems to be the cause of the buildbot hangs. Try to fix it, and add some comments.
A
Antoine Pitrou committed
cf4cabbe2a467cc0b17e69c10fbc0945acdb1706
Parent: e29cd16