diff options
author | 2018-10-01 13:11:29 -0700 | |
---|---|---|
committer | 2018-10-01 14:08:56 -0700 | |
commit | beec2c6ba3f5f789b92a684ff823790f1d63762a (patch) | |
tree | 42e1dfa72496c15b1889cd952731cb4c63c7e896 /src/core/lib/iomgr/timer_manager.cc | |
parent | bcaf46ea1801f5d6b328bef69102643f8beb742d (diff) |
Add alias for macro for internal app
Diffstat (limited to 'src/core/lib/iomgr/timer_manager.cc')
-rw-r--r-- | src/core/lib/iomgr/timer_manager.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/timer_manager.cc b/src/core/lib/iomgr/timer_manager.cc index eaba05a5ce..4a06790b3d 100644 --- a/src/core/lib/iomgr/timer_manager.cc +++ b/src/core/lib/iomgr/timer_manager.cc @@ -62,6 +62,14 @@ static uint64_t g_timed_waiter_generation; static void timer_thread(void* completed_thread_ptr); // For debug of the timer manager crash only. +#ifndef kGMS_BuildConfig_EnableGRPCTimerCrashDebug +#define kGMS_BuildConfig_EnableGRPCTimerCrashDebug() GRPC_DEBUG_TIMER_MANAGER +#endif +#ifndef kBuildConfig_EnableGRPCTimerCrashDebug +#define kBuildConfig_EnableGRPCTimerCrashDebug() GRPC_DEBUG_TIMER_MANAGER +#endif + +// For debug of the timer manager crash only. // TODO (mxyan): remove after bug is fixed. #ifdef GRPC_DEBUG_TIMER_MANAGER extern int64_t g_timer_manager_init_count; |