diff options
| author | Yabin Cui <yabinc@google.com> | 2015-08-26 11:44:16 -0700 |
|---|---|---|
| committer | Yabin Cui <yabinc@google.com> | 2015-08-26 15:22:56 -0700 |
| commit | d8459b3d3c8f9b1bfb3b6871b9c7d6e235cca6fa (patch) | |
| tree | af710eceb49a7f81734ad92dc06225f6c4d83468 /base/errors_unix.cpp | |
| parent | 53f11b620d2be294d3f04acd801e6a5c2f2f4a69 (diff) | |
adb: fix a fake data race on transport:kick reported by tsan.
It is reported by tsan as a double checked locking. But I think
it is not a real data race. Because I think the old code is able
to make sure t->kick() is only called once, and the caller of
kick_transport is not relying on the side-effect of calling
t->kick().
But as it is not perf critical, I don't mind breaking the double
checked locking pattern.
Bug: 23385662
Change-Id: Ie3597dd56bb514117c3865d2afcfd7c115731a78
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
