34 #ifndef GRPCXX_IMPL_CODEGEN_SYNC_NO_CXX11_H 35 #define GRPCXX_IMPL_CODEGEN_SYNC_NO_CXX11_H 41 template <
class mutex>
52 template <
class mutex>
57 template <
class mutex>
79 template <
class mutex>
83 void lock() { this->lock_internal(); }
84 void unlock() { this->unlock_internal(); }
105 #endif // GRPCXX_IMPL_CODEGEN_SYNC_NO_CXX11_H GPRAPI int gpr_cv_wait(gpr_cv *cv, gpr_mu *mu, gpr_timespec abs_deadline)
GPRAPI void gpr_cv_signal(gpr_cv *cv)
Definition: sync_no_cxx11.h:45
GPRAPI void gpr_cv_init(gpr_cv *cv)
void unlock_internal()
Definition: sync_no_cxx11.h:68
void lock_internal()
Definition: sync_no_cxx11.h:64
GPRAPI void gpr_mu_destroy(gpr_mu *mu)
GPRAPI void gpr_mu_lock(gpr_mu *mu)
Definition: sync_no_cxx11.h:87
GPRAPI void gpr_mu_unlock(gpr_mu *mu)
~condition_variable()
Definition: sync_no_cxx11.h:90
~lock_guard()
Definition: sync_no_cxx11.h:61
pthread_cond_t gpr_cv
Definition: sync_posix.h:42
void notify_all()
Definition: sync_no_cxx11.h:97
GPRAPI void gpr_mu_init(gpr_mu *mu)
Definition: sync_windows.h:39
mutex()
Definition: sync_no_cxx11.h:47
void notify_one()
Definition: sync_no_cxx11.h:96
GPRAPI void gpr_cv_destroy(gpr_cv *cv)
GPRAPI void gpr_cv_broadcast(gpr_cv *cv)
GPRAPI gpr_timespec gpr_inf_future(gpr_clock_type type)
void unlock()
Definition: sync_no_cxx11.h:84
lock_guard(mutex &mu)
Definition: sync_no_cxx11.h:60
void lock()
Definition: sync_no_cxx11.h:83
~mutex()
Definition: sync_no_cxx11.h:48
Definition: sync_no_cxx11.h:42
condition_variable()
Definition: sync_no_cxx11.h:89
Definition: sync_no_cxx11.h:80
unique_lock(mutex &mu)
Definition: sync_no_cxx11.h:82
void wait(lock_guard< mutex > &mu)
Definition: sync_no_cxx11.h:91