
It's OK that state is kDown when a thread is woken after being signalled; another tread might also have woken and already set the state to kDown. Even if this waking and aquiring lock has been delayed until other threads have set state to kDown and then subsequently to kUp again with a new Set() call, it's OK to just set kDown and return since this thread is returning kEventSignaled after the (new) Set() has ben called. R=pbos@webrtc.org TBR=tommi@webrtc.org BUG= Review URL: https://webrtc-codereview.appspot.com/36109004 Cr-Commit-Position: refs/heads/master@{#8334} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8334 4adac7df-926f-26a2-2b94-8c16560cd09d
Description
No description provided
Languages
C++
76%
C
16%
Python
2.3%
Java
2.1%
Objective-C++
1.5%
Other
1.9%