commit | a1c6bfd62b9dc2343ada32cfc8a9cc724250a863 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Tue Jan 11 10:07:53 2022 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 11 20:01:48 2022 +0000 |
tree | 2d3b283ff9ad3c88f3ccf4689c1c2b9c702009fd | |
parent | 3f126ecfc0651e2a37a4f0e10b241c615d1057e6 [diff] |
pw_rpc: Do not hold locks while calling user code - Add annotations and update code to ensure that rpc_lock() is not held while calling user-provided ChannelOutput functions. - Flag a few places in the code with TODOs to fix thread safety issues. Change-Id: I8040bbdddad4d0b1f266e7214aea5e386c183aed Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/78120 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Alexei Frolov <frolv@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/