diff options
author | Vijay Pai <vpai@google.com> | 2018-01-11 16:11:35 -0800 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2018-01-21 21:03:56 -0800 |
commit | 2b226adf60eac113e6c2780aa551c775e72511d6 (patch) | |
tree | ea3172e769594f379a093ea0f23b2927a47e4254 /include/grpc | |
parent | 5b48dc737151464c1d863df6e4318ff3d766ddbc (diff) |
Remove alarm from core, implement in C++ layer only
Diffstat (limited to 'include/grpc')
-rw-r--r-- | include/grpc/grpc.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h index f083bc591e..47d749c728 100644 --- a/include/grpc/grpc.h +++ b/include/grpc/grpc.h @@ -160,25 +160,6 @@ GRPCAPI void grpc_completion_queue_thread_local_cache_init( GRPCAPI int grpc_completion_queue_thread_local_cache_flush( grpc_completion_queue* cq, void** tag, int* ok); -/** Create a completion queue alarm instance */ -GRPCAPI grpc_alarm* grpc_alarm_create(void* reserved); - -/** Set a completion queue alarm instance associated to \a cq. - * - * Once the alarm expires (at \a deadline) or it's cancelled (see \a - * grpc_alarm_cancel), an event with tag \a tag will be added to \a cq. If the - * alarm expired, the event's success bit will be true, false otherwise (ie, - * upon cancellation). */ -GRPCAPI void grpc_alarm_set(grpc_alarm* alarm, grpc_completion_queue* cq, - gpr_timespec deadline, void* tag, void* reserved); - -/** Cancel a completion queue alarm. Calling this function over an alarm that - * has already fired has no effect. */ -GRPCAPI void grpc_alarm_cancel(grpc_alarm* alarm, void* reserved); - -/** Destroy the given completion queue alarm, cancelling it in the process. */ -GRPCAPI void grpc_alarm_destroy(grpc_alarm* alarm, void* reserved); - /** Check the connectivity state of a channel. */ GRPCAPI grpc_connectivity_state grpc_channel_check_connectivity_state( grpc_channel* channel, int try_to_connect); |