GRPC Core
0.11.0.0
|
#include "src/core/iomgr/alarm_heap.h"
#include <string.h>
#include <grpc/support/alloc.h>
#include <grpc/support/useful.h>
Macros | |
#define | SHRINK_MIN_ELEMS 8 |
#define | SHRINK_FULLNESS_FACTOR 2 |
Functions | |
void | grpc_alarm_heap_init (grpc_alarm_heap *heap) |
void | grpc_alarm_heap_destroy (grpc_alarm_heap *heap) |
int | grpc_alarm_heap_add (grpc_alarm_heap *heap, grpc_alarm *alarm) |
void | grpc_alarm_heap_remove (grpc_alarm_heap *heap, grpc_alarm *alarm) |
int | grpc_alarm_heap_is_empty (grpc_alarm_heap *heap) |
grpc_alarm * | grpc_alarm_heap_top (grpc_alarm_heap *heap) |
void | grpc_alarm_heap_pop (grpc_alarm_heap *heap) |
#define SHRINK_FULLNESS_FACTOR 2 |
#define SHRINK_MIN_ELEMS 8 |
int grpc_alarm_heap_add | ( | grpc_alarm_heap * | heap, |
grpc_alarm * | alarm | ||
) |
void grpc_alarm_heap_destroy | ( | grpc_alarm_heap * | heap | ) |
void grpc_alarm_heap_init | ( | grpc_alarm_heap * | heap | ) |
int grpc_alarm_heap_is_empty | ( | grpc_alarm_heap * | heap | ) |
void grpc_alarm_heap_pop | ( | grpc_alarm_heap * | heap | ) |
void grpc_alarm_heap_remove | ( | grpc_alarm_heap * | heap, |
grpc_alarm * | alarm | ||
) |
grpc_alarm* grpc_alarm_heap_top | ( | grpc_alarm_heap * | heap | ) |