[roll] Roll fuchsia [lib][trace] std::sync -> fuchsia_sync
The behaviors of fuchsia_sync's locks are very similar to those from
the standard library. std::sync::Mutex is a port of the libsync
mutex that fuchsia_sync::Mutex links against, and fuchsia_sync::RwLock
is very similar to the std::sync::RwLock's futex-based approach. However
there are some important differences:
1. fuchsia_sync supports lock cycle detection which surfaces many
deadlocks. See the documentation[0] for more details.
2. fuchsia_sync doesn't support lock poisoning because most of
Fuchsia's code is compiled with panic=abort.
a. saves memory with smaller types
b. avoids noop error handling syntax and branches
[0]: https://fuchsia.dev/fuchsia-src/development/debugging/lock_cycles
Original-Bug: 465178981
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1440147
Original-Revision: b10a9470dd9e174f98c950e76943f80586cbd407
GitOrigin-RevId: 097fc13b9310cdf728f30cdf24700e241534e7e2
Change-Id: Id5d236bbc72569de5149e5f14058b2dd4b809c8f
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.