commit | 0d09a9bec07b3bec78bd473ff0bfcf0a261f3f25 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Mon Jun 24 12:06:46 2013 -0700 |
committer | Glenn Kasten <gkasten@google.com> | Mon Jun 24 13:34:08 2013 -0700 |
tree | 410d8c22e5d15f9143d04212cd96939c217cacc5 | |
parent | a2cf13c77260f98fc674f103dcbd2bb2488a80ce [diff] |
Use mFutex as an event flag rather than semaphore An event flag can be more fault-tolerant in case of loss of synchronization, as it cannot overflow. It also allows more bits to be used in the future. See http://en.wikipedia.org/wiki/Event_flag Change-Id: I01ca25d951eb263124da54bb4738f0d94ec4a48b