commit | b69bf16eef417172fdcf34ca86613cb15fda119d | [log] [tgz] |
---|---|---|
author | Bruno Dal Bo <brunodalbo@fuchsia.infra.roller.google.com> | Mon May 19 11:48:23 2025 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon May 19 11:49:42 2025 -0700 |
tree | c2e47142b2fbb0e4bdb925fbd773cd07b5919b4e | |
parent | 586ec46befc3139900467fda7013d11f3fb3bc32 [diff] |
[roll] Roll fuchsia [fuchsia-async] Prevent panic on spawn on drop For the portable executors, change I04895449c7008debcc289062d01a98564f4e5af5 introduced a LocalSet on the LocalExecutor so it can offer the same guarantees as the Fuchsia version. However, dropping tasks within the LocalSet _after_ removing it from the TLS variable means the LOCAL_EXECUTOR RefCell was empty. Any task that attempts to spawn on drop would hit a panic. Address that by providing similar guarantess to both Send and Local executors by keeping tokio's EnterGuards in the executors. This allows us to use the tokio::spawn and ::spawn_local functions directly. Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1278678 Original-Revision: 95b49a8490873c02c7bd79218e1b034ab2613fc9 GitOrigin-RevId: b93aeb9515ae5db44d4827aedbf71557034a405a Change-Id: I2ab68c44c0a91227d2bebdf67950a0c1576773a0
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.