diff options
author | amistry <amistry@chromium.org> | 2015-07-16 20:58:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-17 03:58:33 +0000 |
commit | 42d16882080508876676ef164c1f7a863ca1fbf3 (patch) | |
tree | 9c23dbb379624dd5892c97fca3a3c5e358c13a4d /base/async_socket_io_handler_unittest.cc | |
parent | cf308f75db0afaedecf19fcbcf6ce0739db72704 (diff) | |
download | chromium_src-42d16882080508876676ef164c1f7a863ca1fbf3.zip chromium_src-42d16882080508876676ef164c1f7a863ca1fbf3.tar.gz chromium_src-42d16882080508876676ef164c1f7a863ca1fbf3.tar.bz2 |
Fix a race in ThreadLocalStorage::StaticSlot::initialized which triggers a TSAN error.
Also fix a data race with ThreadData::status_. TSan doesn't see this race explicitly, but it contributes to a race with the use of StaticSlot in ThreadData::tls_index_.
BUG=268941
TESTED=Ran base_unittests.
TSAN errors before: lots, oodles, slathers, acres
After: Zip, zilch, nadda
Review URL: https://codereview.chromium.org/1222123002
Cr-Commit-Position: refs/heads/master@{#339219}
Diffstat (limited to 'base/async_socket_io_handler_unittest.cc')
0 files changed, 0 insertions, 0 deletions