commit | afaacb6b3fe2219f700804f53161ef56a9c2a213 | [log] [tgz] |
---|---|---|
author | Taylor Cramer <cramertj@google.com> | Fri Sep 16 16:45:52 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 16 16:45:52 2022 +0000 |
tree | 6a5f85afa6893f7c43517b6061cf2b86099d314f | |
parent | a73f1570bf0066c570400a582de2f297b49977af [diff] |
pw_rpc: Allow simultaneous calls to one method Calls already include a call_id that, prior to this CL, was largely unused. This CL looks up calls based on their ID and uses it to allow multiple outstanding calls on the same channel+service+method at once. Note that we still use all of channel+service+method+call to look up the record of a given call, even though existing clients should use IDs only once across a channel (so channel+call IDs would be enough). In the future, this may be relaxed in order to allow omitting service+method IDs in response messages. Bug: 237418397 Change-Id: I220b8cb702baaf56867ad3ccdcdcb77a5b8fa625 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/109077 Reviewed-by: Wyatt Hepler <hepler@google.com> Pigweed-Auto-Submit: Taylor Cramer <cramertj@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/.