mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-09 04:29:36 +00:00
c370e1da8c
`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> |
||
---|---|---|
.. | ||
public/pw_thread | ||
pw_thread_private | ||
pw_thread_protos | ||
py | ||
Android.bp | ||
backend.cmake | ||
backend.gni | ||
backends.rst | ||
BUILD.bazel | ||
BUILD.gn | ||
CMakeLists.txt | ||
deprecated_or_new_thread_function_test.cc | ||
docs.rst | ||
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 |