commit | e4a0a67c425eec93c924d83edb446572f9ab4277 | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@google.com> | Mon Jan 10 18:09:42 2022 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 11 02:41:17 2022 +0000 |
tree | d2cbae9e5a167836ca395e6575f64d39d599e1e7 | |
parent | 3ce31ccbd3cad5b72fdf103c7dcd5969487b14ae [diff] |
pw_rpc: Don't hold the RPC lock when calling AcquireBuffer This updates RPC calls to release their buffer before calling Channel::AcquireBuffer to prevent potential deadlocks if the ChannelOutput has its own locking. Change-Id: Ia9ee156ba3ddf48e8e5bb445549e7a89f45e5885 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/77960 Pigweed-Auto-Submit: Alexei Frolov <frolv@google.com> Reviewed-by: Wyatt Hepler <hepler@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.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/