Changes to sync required for promise activities (#26920)

pull/26911/head^2
Craig Tiller 4 years ago committed by GitHub
parent 8a0e723159
commit f5596767de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/core/lib/gprpp/sync.h

@ -68,6 +68,7 @@ class ABSL_LOCKABLE Mutex {
bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) {
return gpr_mu_trylock(&mu_) != 0;
}
void AssertHeld() ABSL_ASSERT_EXCLUSIVE_LOCK() {}
private:
gpr_mu mu_;

Loading…
Cancel
Save