roll: pigweed 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
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/236893
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Original-Revision: dc99cbcc9e80267da9a19dfd49fdf4be77848a92
Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: 5c30c1e31e88bb..dc99cbcc9e8026
Roller-URL: https://ci.chromium.org/b/8735061190164687169
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I7fbb18ed9ee87cf6499a3e4b75ab641225da6d57
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/quickstart/bazel/+/239972
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
diff --git a/MODULE.bazel b/MODULE.bazel
index 907f34f..410377c 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -49,8 +49,8 @@
module_name = "pigweed",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-10-03.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8735065464262953569.
- commit = "5c30c1e31e88bbdaca5c6ca339f20e05f09417ae",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8735061190164687169.
+ commit = "dc99cbcc9e80267da9a19dfd49fdf4be77848a92",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
)
@@ -58,8 +58,8 @@
module_name = "pw_toolchain",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-10-03.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8735065464262953569.
- commit = "5c30c1e31e88bbdaca5c6ca339f20e05f09417ae",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8735061190164687169.
+ commit = "dc99cbcc9e80267da9a19dfd49fdf4be77848a92",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
strip_prefix = "pw_toolchain_bazel",
)