| commit | 76a2b719222d4a175734ef8b532cb8ec91c4e91e | [log] [tgz] |
|---|---|---|
| author | Jocelyn Dang <jocelyndang@google.com> | Mon Jun 08 23:39:22 2020 +0000 |
| committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Mon Jun 08 23:39:22 2020 +0000 |
| tree | b6b1787f2222ecff8a77be2ab5d0664736f0d2ae | |
| parent | 51c950a1404a827435b077f03f6bd671396afb56 [diff] |
[fake_ddk] Run the unbind hook in a new thread. To more closely match the device manager behavior, DdkAsyncRemove should return immediately. This will be needed to migrate the i2c-hid driver to the new Unbind hook. Sometimes users will call device->DdkRelease() before fake_ddk->Ok(), in which case they also need to call device->WaitUntilRemove() before the DdkRelease(). BUG=37831 Change-Id: I9ed41b30d6ead7d195b85361cde400b48b932045 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/390621 Reviewed-by: Tess Eisenberger <teisenbe@google.com> Testability-Review: Tess Eisenberger <teisenbe@google.com> Commit-Queue: Jocelyn Dang <jocelyndang@google.com>
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 fuchsia.dev.