commit | 0117408af4b6c33a179719f9164d2a5c05317bb4 | [log] [tgz] |
---|---|---|
author | Taylor Cramer <cramertj@google.com> | Tue Jul 26 00:24:54 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 26 00:24:54 2022 +0000 |
tree | 6dda5f934a99f45e6b38fadbf91a61a01191d241 | |
parent | 41af1d856124d123a1edbf7a0320f556dddf6763 [diff] |
pw_sync: Clarify PW_LOCKS_EXCLUDED documentation The documentation of PW_LOCKS_EXCLUDED previously stated that the annotated function acquired the lock in question. However, this is only one possible use of the annotation. The annotated function may wish to guarantee that a lock is not held for other purposes, such as ensuring that the code in question is not run as part of a critical section. Change-Id: If209df1c38f097a51f93f40ff2b5c9168b9993e8 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/103421 Commit-Queue: Taylor Cramer <cramertj@google.com> Reviewed-by: 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/.