commit | 2005fc23aa467a096c0f05c1cdee962d9899b5b5 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Thu Aug 18 00:23:20 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 18 00:23:20 2022 +0000 |
tree | 928c3db93a7ab0effaa7ab846da9b01f5aae877d | |
parent | 9201c46264e5e52cc6f9aec6ec590bb2c10f8562 [diff] |
Revert "pw_thread: Add FunctionalThread" This reverts commit 73eeb7710e9ecfd1eb9b40c7e000f78ffb1b975c. Reason for revert: This broke a downstream project. Moving forward, rather than adding FunctionalThread, we should look into having pw::thread::Thread use pw::Function internally. Original change's description: > pw_thread: Add FunctionalThread > > With new changes in pw::Function which allowed for dynamic allocation it > can be very convenient to create threads with lambdas with capture > lists. Right now, though, it can be done only through the custom > ThreadCore instance. > > This CL adds Thread wrapper that does exactly the same - it stores the > ThreadCore instance that runs the pw::Function passed to it. > > Change-Id: I3f0467e39ba1ac2524606b89cda451fa823a8a27 > Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/106913 > Reviewed-by: Wyatt Hepler <hepler@google.com> > Reviewed-by: Ted Pudlik <tpudlik@google.com> > Pigweed-Auto-Submit: Dennis Kormalev <denk@google.com> > Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> TBR=hepler@google.com,pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com,ewout@google.com,auto-submit@pigweed.google.com.iam.gserviceaccount.com,tpudlik@google.com,denk@google.com Change-Id: I67ba9667e1a99fc7f54ba1d65b1fdfa3a7e3f855 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/107171 Commit-Queue: Wyatt Hepler <hepler@google.com> Reviewed-by: Wyatt Hepler <hepler@google.com> Reviewed-by: Keir Mierle <keir@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/.