commit | 105245cb508677cdc33edd55c360739463e14860 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Fri Jan 27 11:42:43 2012 -0800 |
committer | Ian Rogers <irogers@google.com> | Fri Jan 27 12:04:05 2012 -0800 |
tree | c0ab8eeeb1242ed73df954c76ccfa040b55bd8a7 | |
parent | 748382f38dfe7a0d9a426a4b72fcfc399ba1a5da [diff] |
Assert lock/unlock/trylock sanity. We rely on the underlying pthread code to behave sanely and this hasn't always been true. Cost is a DCHECK, ie 0 for a regular build. Change-Id: I888dde2ad14dd32ea306e09a6414e8e54ae02dd5