commit | b90132cb5132eaeb4dbfca1e63d79b4005dacec5 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Thu Oct 09 12:57:58 2014 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Thu Oct 09 20:14:26 2014 +0000 |
tree | e4076b82e2922643e823c2973017f7550e829f4f | |
parent | b6404fe0bb782cbbccda88903901fe0096a741d5 [diff] |
Fix race in thread list destructor The ThreadList::Contains wasn't being guarded by the thread list lock, which could cause a corrupted thread list if another thread unregistered itself while std::find was searching the thread list. Bug: 17896374 Change-Id: I629b1eac3473e3cf7355ebde9080dfd7c58af73a