commit | d45f201e9bd43490e30a35710865789b8d70e249 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Wed Nov 28 11:46:23 2012 -0800 |
committer | Ian Rogers <irogers@google.com> | Wed Nov 28 11:55:23 2012 -0800 |
tree | cbd318570af04229cf44fa5ab62d8b240f300b39 | |
parent | bc43860b7e5326264ada842c35a840dd4cda8120 [diff] |
Simplify ConditionVariable and avoid potential race. Make waiters maintain mutex contenders rather than signal/broadcast (eliminates awoken count). Avoids race where a spurious Signal wake could remove a Broadcast contender from the mutex. Change-Id: I5c3e36878c9fa2db09f5dc31d24a0a6222a61731