Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: Update guidance on #include <mutex>
Can `#include <mutex>` in order to use `std::lock_guard`. However, the other types in this header aren't guaranteed to work for a given toolchain or OS. For types like std::mutex, pw_sync alternatives should be preferred. Bug: b/230744747 Change-Id: I782b02175e21a7729efd255a797ee8549541b03f Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/93221 Reviewed-by: Keir Mierle <[email protected]> Reviewed-by: Wyatt Hepler <[email protected]> Commit-Queue: Keir Mierle <[email protected]>
- Loading branch information