commit | adc77a345db134d07c5ff3e5af4affae4e7ea21b | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Thu Jan 12 05:39:09 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 12 05:39:09 2023 +0000 |
tree | c72cdd9bda8719686b0dee76405a8f2482e5ae88 | |
parent | bb565630a3d48f49e833d237d44406b50561598d [diff] |
pw_rpc: Hold lock while calling internal on_completed wrapper - Hold the lock while invoking a wrapped on_completed function. The wrapped function decodes the proto to a struct and then releases the lock before calling the user's callback. - Remove duplicate active() checks in Nanopb and pwpb call classes. Bug: b/234876851 Change-Id: Ie281a7dea7c6cd5c716a723ffe84b7d58765fcea Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/126213 Reviewed-by: Alexei Frolov <frolv@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Wyatt Hepler <hepler@google.com> Pigweed-Auto-Submit: 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/.