diff options
Diffstat (limited to 'src/core/iomgr/alarm_internal.h')
-rw-r--r-- | src/core/iomgr/alarm_internal.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/iomgr/alarm_internal.h b/src/core/iomgr/alarm_internal.h index e9f98a3444..31d840e6f9 100644 --- a/src/core/iomgr/alarm_internal.h +++ b/src/core/iomgr/alarm_internal.h @@ -34,6 +34,7 @@ #ifndef GRPC_INTERNAL_CORE_IOMGR_ALARM_INTERNAL_H #define GRPC_INTERNAL_CORE_IOMGR_ALARM_INTERNAL_H +#include "src/core/iomgr/exec_ctx.h" #include <grpc/support/sync.h> #include <grpc/support/time.h> @@ -48,10 +49,10 @@ with high probability at least one thread in the system will see an update at any time slice. */ -int grpc_alarm_check(gpr_mu *drop_mu, gpr_timespec now, gpr_timespec *next); - +int grpc_alarm_check(grpc_exec_ctx* exec_ctx, gpr_timespec now, + gpr_timespec* next); void grpc_alarm_list_init(gpr_timespec now); -void grpc_alarm_list_shutdown(void); +void grpc_alarm_list_shutdown(grpc_exec_ctx* exec_ctx); gpr_timespec grpc_alarm_list_next_timeout(void); |