commit | 98289a51e9243f97974ebdba69e2fccc9a7f801d | [log] [tgz] |
---|---|---|
author | Sam Hansen <hansens@google.com> | Mon May 20 21:45:13 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Mon May 20 21:45:13 2019 +0000 |
tree | 0ca1e4e1396017b4fd0a78ba5f729b7d1b8f1333 | |
parent | 1ae40cc631d2bd2f3195e06766c900f086623ac0 [diff] |
[usb][mediatek] Fix thread teardown race. Currently, zx-primitives are being used to synchronize the halting of a processing thread. This is racy if the containing object is being deallocated. This replaces the primitives with a call to thrd_join(), which fixes the race. This seems to only affect clang-x64 builds. FLK-244 #done Test: runtests -t mt-hci-endpoint-test-test -r 1000 (~3% racy before) Change-Id: Ifa2f58f876d117868d4b2ea7fc0ebc0a52d3dd7a
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.