commit | f536c274616bcb44c1f891713ed340e85c3722c8 | [log] [tgz] |
---|---|---|
author | Chris Suter <csuter@google.com> | Thu Apr 18 04:56:25 2024 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 18 04:56:25 2024 +0000 |
tree | 5f67b1e066367b30b18165c29b85d5bc73cc7ba2 | |
parent | d2778403e971e0e11c3f1dabb9b0857e174d1c88 [diff] |
[fuchsia-async] Make detaching tasks zero-cost Instead of using RemoteHandle which carries some overhead, track join results and cancellation within the executor. In this CL, there is only a cost when a task has finished, or when the join handle has been polled. Also migrate from pin_utils::pin_mut to std::pin::pin. Change-Id: I99783689bc034542478c8ed74ac747c141227cc9 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1021613 Owners-Override: Adam Barth <abarth@google.com> Reviewed-by: Tyler Mandry <tmandry@google.com> Commit-Queue: Chris Suter <csuter@google.com> Reviewed-by: Jacob Rutherford <jruthe@google.com> Reviewed-by: Marie Janssen <jamuraa@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.