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/8735061196903074113
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I207359c5739907928317a0946c7771998bcd7fca
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/239934
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
1 file changed
tree: b935687715c58858b763f6c664a34c5973ba692a
  1. .github/
  2. .vscode/
  3. apps/
  4. device/
  5. modules/
  6. system/
  7. targets/
  8. tools/
  9. web_app/
  10. .bazelignore
  11. .bazelrc
  12. .bazelversion
  13. .buildifier.json
  14. .clang-format
  15. .clangd.shared
  16. .gitignore
  17. .pw_console.yaml
  18. AUTHORS
  19. BUILD.bazel
  20. CONTRIBUTING.md
  21. LICENSE
  22. MODULE.bazel
  23. MODULE.bazel.lock
  24. OWNERS
  25. pigweed.json
  26. README.md
README.md

Sense

git clone https://pigweed.googlesource.com/pigweed/showcase/sense

Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.

Please visit Sense: An interactive tour through Pigweed to get started.