[media][tests] Run loop exit logic on the async thread.

It was possible that the thread running the loop would exit after the
loop was moved into the shutdow state (which would in turn run the
async::Loop dtor and close the port handle) and before the loop could
post a wake task, which would return ZX_ERR_BAD_STATE from
zx_port_queue and trigger an assert.

By posting the quit task to the loop, we ensure that this will not race
with the loop exit logic.

Test: Was causing flakes in fxr/300198. This will be added to the
      relation chain add will do some burn-in testing in CQ with
      that CL.
Change-Id: Iad5c63456717346a028c4600ed2cacba90d63a0b
1 file changed
tree: da1c01b813cc07299baa34c646b067fd2a9b4af2
  1. boards/
  2. build/
  3. buildtools/
  4. bundles/
  5. docs/
  6. examples/
  7. garnet/
  8. peridot/
  9. products/
  10. scripts/
  11. sdk/
  12. src/
  13. third_party/
  14. tools/
  15. zircon/
  16. .clang-format
  17. .clang-tidy
  18. .dir-locals.el
  19. .gitattributes
  20. .gitignore
  21. .gn
  22. .style.yapf
  23. AUTHORS
  24. BUILD.gn
  25. CODE_OF_CONDUCT.md
  26. CONTRIBUTING.md
  27. LICENSE
  28. OWNERS
  29. PATENTS
  30. README.md
  31. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

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.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.