Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information