commit | dc99cbcc9e80267da9a19dfd49fdf4be77848a92 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Thu Oct 03 22:11:38 2024 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 03 22:11:38 2024 |
tree | 63fd8809537980d20d7c738ffd80b6ed2ba21e40 | |
parent | 5c30c1e31e88bbdaca5c6ca339f20e05f09417ae [diff] |
pw_thread: Delete deprecated function pointer constructor - Remove the deprecated function pointer constructor, which was made private previously. - Remove the unused pw::thread::DeprecatedOrNewThreadFn adapter class. BREAKING CHANGE: Projects with a custom pw_thread backend must replace uses of pw::thread::DeprecatedOrNewThreadFn with pw::Function<void()> and delete their implementation of the ThreadRoutine Thread constructor: Thread(const Options& options, ThreadRoutine entry, void* arg) That constructor is private and unused so can be deleted safely. Fixes: b/367786892 Change-Id: I95f81c35bce309b17a44575c923aa7f6e9192679 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/236893 Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Docs-Not-Needed: Wyatt Hepler <hepler@google.com> Reviewed-by: Taylor Cramer <cramertj@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Wyatt Hepler <hepler@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.