[roll] Roll fuchsia [bt][sunstone] Setup sapphire-sync for platform agnostic synchronization

This CL adds a sapphire-sync crate which will be used to provide
platform agnostic synchronization primitives. It takes a similar
approach to embassy and parking_lot, by defining a RawMutex trait and
having different implementations with different guarantees

This provides

- StdRawMutex based on parking_lot::RawMutex
- SpinRawMutex which uses a spin lock for thread safety
- SingleThreadRawMutex which is similar to a RefCell and doesn't
  implement Sync

Additionally, there's a Mutex type that wraps the raw mutex and payload.

Original-Original-Bug: 520452028
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1640935
Original-Original-Revision: 89c75fcfc71bb2de9caa62226cb6adda9695e061
GitOrigin-RevId: 22c6f82a5479ff84709d1094000e2057d700a4fd
Change-Id: I3cf3935e8df2a9b7f905dab02c628c7156ba6599
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1685038
Cr-Commit-Position: refs/heads/main@{#195814}
1 file changed
tree: 388b3e717e3c9e5db26b3dc3a0cecf597b644c6d
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
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 in one of the communication channels documented at get involved.

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.