[devcoord] Fix unbind task race condition.

We do not want to add an already posted task as a dependent,
otherwise when we complete we will try to post the task again.

This can happen if DdkRemove is called on a parent device and
child device at the same time.

Example
-----------------
Parent Device A
Child Device B

DdkRemove(A) -> UnbindTask(A) posted
DdkRemove(B) -> UnbindTask(B) posted

Async loop runs UnbindTask(A)
UnbindTask(A) adds UnbindTask(B) as a dependent
UnbindTask(A) completes immediately
UnbindTask(A).Complete tries to post UnbindTask(B)

BUG=35361

Change-Id: I376bceb219601088c7345a0169041c27770a42f7
4 files changed
tree: a44e4b3111d46fad595242daf29fd6a361af11cb
  1. .clang-format
  2. .clang-tidy
  3. .dir-locals.el
  4. .gitattributes
  5. .gitignore
  6. .gn
  7. .style.yapf
  8. AUTHORS
  9. BUILD.gn
  10. CODE_OF_CONDUCT.md
  11. CONTRIBUTING.md
  12. LICENSE
  13. OWNERS
  14. PATENTS
  15. README.md
  16. boards/
  17. build/
  18. bundles/
  19. docs/
  20. examples/
  21. garnet/
  22. peridot/
  23. products/
  24. rustfmt.toml
  25. scripts/
  26. sdk/
  27. src/
  28. third_party/
  29. tools/
  30. zircon/
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.