[roll] Roll fuchsia [vfs] Rework how ExecutionScope's shutdown works

This changes the way that ExecutionScope's shutdown feature works which
simplifies most uses.

With this new mechanism, after calling shutdown all tasks will continue
running whilst at least one is considered active. A guard is used to
mark a task as active. This will mean that some tasks run for longer
than they might have done prior to this change, but this should not have
any material difference.

Tasks that want async behaviour to take place when they are dropped
(rare) can spawn tasks from their drop functions and the executor will
delay shutdown until these async tasks have finished.

This results in a small decrease in binary size and it should take less
runtime memory too, but the main benefit is that spawning tasks is
simpler for the majority of uses.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/858276
Original-Revision: a24d776f25c78f7784080fb6e8c61be860243051
GitOrigin-RevId: 06c8c1f5d37f4faf1fae3302635a7df35b861efb
Change-Id: I0cd8f6e56afbbb3b0807e9ac6ecdc04c72482f2c
1 file changed
tree: 82155d7e812284b12222bfa239ecfe3697f8016a
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

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 via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.