Changed GRPCPP_ABSEIL_SYNC to GPR_ABSEIL_SYNC (#25681)

pull/26848/head^2
Esun Kim 3 years ago committed by GitHub
parent ef68db91da
commit 931f91b745
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      include/grpcpp/impl/codegen/sync.h

@ -46,7 +46,7 @@
namespace grpc {
namespace internal {
#ifdef GRPCPP_ABSEIL_SYNC
#ifdef GPR_ABSEIL_SYNC
using Mutex = absl::Mutex;
using MutexLock = absl::MutexLock;
@ -141,7 +141,7 @@ class CondVar {
gpr_cv cv_;
};
#endif // GRPCPP_ABSEIL_SYNC
#endif // GPR_ABSEIL_SYNC
template <typename Predicate>
static void WaitUntil(CondVar* cv, Mutex* mu, Predicate pred) {

Loading…
Cancel
Save