Fix bug in  EventPosix where we'd miss a set event.
In cases of timeout or error, we could change the state of the event to 'down' (unset) and subsequently never satisfy a Wait() for a given Set().

BUG=4284
R=pbos@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/38049004

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@8310 4adac7df-926f-26a2-2b94-8c16560cd09d
1 file changed