[roll] Roll fuchsia [libc] zxr_thread_t underlying handle lifetime.

Guarantee that the zircon thread handle underlying a properly created
zxr_thread_t is valid and safe to retrieve/use from another thread as
long as neither zxr_thread_join nor zxr_thread_detach have been called.

Changes the cleanup behavior, such that when a joinable thread exits,
closing the underlying thread handle is deferred until join or detach is
called. Calling join or detach is now mandatory to avoid leaking a
handle and thread dispatcher. However, pthreads and std::thread have the
same mandatory requirement.

Original-Bug: 109069
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/723243
Original-Revision: 1db2dc84f6f24fee118f750e8ea8aa2278d9e5de
GitOrigin-RevId: f9369f6c2e21b4390ff44806b7c7f9e2dcf6bec6
Change-Id: I7a2800260bb55569cab9976cfe1718f754c7a7d3
1 file changed
tree: deb17572cf07876dd4982b8af5fbe054177ee73a
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. 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.