// // Example using LockWhen/Unlock: // // // assume count_ is not internal reference count // int count_ ABSL_GUARDED_BY(mu_); // Condition count_is_zero(+[](int *count) { return *count == 0; }, &count_); // // mu_.LockWhen(count_is_zero); // // ... // mu_...
Abseil Common Libraries (C++). Contribute to abseil/abseil-cpp development by creating an account on GitHub.
Abseil Common Libraries (C++). Contribute to abseil/abseil-cpp development by creating an account on GitHub.