iomgr/timer.cc
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2018 gRPC authors.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
20 
22 
24 
26 
29 }
30 
33  grpc_timer_impl->init(timer, deadline, closure);
34 }
35 
37 
39  return grpc_timer_impl->check(next);
40 }
41 
43 
45 
vtable
static const grpc_transport_vtable vtable
Definition: binder_transport.cc:680
timer_manager.h
grpc_timer_vtable
Definition: iomgr/timer.h:61
grpc_timer_impl
grpc_timer_vtable * grpc_timer_impl
Definition: iomgr/timer.cc:25
grpc_timer_vtable::list_init
void(* list_init)()
Definition: iomgr/timer.h:67
grpc_core::Timestamp
Definition: src/core/lib/gprpp/time.h:62
grpc_timer_check
grpc_timer_check_result grpc_timer_check(grpc_core::Timestamp *next)
Definition: iomgr/timer.cc:38
grpc_timer
Definition: iomgr/timer.h:33
grpc_timer_vtable::list_shutdown
void(* list_shutdown)(void)
Definition: iomgr/timer.h:68
grpc_set_timer_impl
void grpc_set_timer_impl(grpc_timer_vtable *vtable)
Definition: iomgr/timer.cc:27
grpc_timer_list_init
void grpc_timer_list_init()
Definition: iomgr/timer.cc:42
grpc_timer_vtable::cancel
void(* cancel)(grpc_timer *timer)
Definition: iomgr/timer.h:63
grpc_timer_vtable::init
void(* init)(grpc_timer *timer, grpc_core::Timestamp, grpc_closure *closure)
Definition: iomgr/timer.h:62
grpc_timer_cancel
void grpc_timer_cancel(grpc_timer *timer)
Definition: iomgr/timer.cc:36
grpc_timer_check_result
grpc_timer_check_result
Definition: iomgr/timer.h:55
grpc_timer_vtable::consume_kick
void(* consume_kick)(void)
Definition: iomgr/timer.h:69
next
AllocList * next[kMaxLevel]
Definition: abseil-cpp/absl/base/internal/low_level_alloc.cc:100
grpc_timer_consume_kick
void grpc_timer_consume_kick()
Definition: iomgr/timer.cc:46
grpc_timer_init
void grpc_timer_init(grpc_timer *timer, grpc_core::Timestamp deadline, grpc_closure *closure)
Definition: iomgr/timer.cc:31
closure
Definition: proxy.cc:59
timer.h
grpc_timer_list_shutdown
void grpc_timer_list_shutdown()
Definition: iomgr/timer.cc:44
grpc_closure
Definition: closure.h:56
grpc_timer_vtable::check
grpc_timer_check_result(* check)(grpc_core::Timestamp *next)
Definition: iomgr/timer.h:66
timer
static uv_timer_t timer
Definition: test-callback-stack.c:34
port_platform.h


grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:38