third_party.pigweed.src/pw_thread
Leonard Zgrablic c370e1da8c pw_thread_stl: Change NativeThreadHandle to ptr
`backend::NativeThreadHandle` is currently a `std::thread&`. Using
`std::thread*` instead makes it more versatile and handle-like (e.g.
something that refers to the thread, but not the thread itself).

Also, add pw_thread documentation for `Thread::native_handle_type` and
`Thread::native_handle()` to make it clear that their use is inherently
non-portable, as with the respective members of `std::thread`.

Bug: 350349092
Change-Id: I74e9fd43f1c10546cd35e1be03cd94fd81e75e3d
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/219251
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Leonard Zgrablic <lzgrablic@google.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
2024-07-01 21:04:10 +00:00
..
public/pw_thread pw_thread_stl: Change NativeThreadHandle to ptr 2024-07-01 21:04:10 +00:00
pw_thread_private
pw_thread_protos
py
Android.bp
backend.cmake
backend.gni
backends.rst
BUILD.bazel pw_thread: Remove backend multiplexers 2024-06-28 20:45:44 +00:00
BUILD.gn
CMakeLists.txt
deprecated_or_new_thread_function_test.cc
docs.rst docs: Bazel compatibility patterns 2024-06-18 01:14:38 +00:00
id_facade_test.cc
OWNERS
sleep_facade_test_c.c
sleep_facade_test.cc
sleep.cc
snapshot.cc
test_thread_context_facade_test.cc
thread_facade_test.cc
thread_info_test.cc
thread_snapshot_service_test.cc
thread_snapshot_service.cc
thread.cc
yield_facade_test_c.c
yield_facade_test.cc
yield.cc