31 return (
struct heap*)
loop->timer_heap;
33 return (
struct heap*) &
loop->timer_heap;
46 if (
a->timeout <
b->timeout)
48 if (
b->timeout <
a->timeout)
54 return a->start_id <
b->start_id;
83 handle->timeout = clamped_timeout;
static mcore_handle handle
static void repeat(struct parse *, sopno, int, int)
#define container_of(ptr, type, member)
int uv__next_timeout(const uv_loop_t *loop)
uint64_t uv_timer_get_repeat(const uv_timer_t *handle)
int uv_timer_init(uv_loop_t *loop, uv_timer_t *handle)
static struct heap * timer_heap(const uv_loop_t *loop)
void uv__run_timers(uv_loop_t *loop)
int uv_timer_stop(uv_timer_t *handle)
void uv_timer_set_repeat(uv_timer_t *handle, uint64_t repeat)
static int timer_less_than(const struct heap_node *ha, const struct heap_node *hb)
int uv_timer_again(uv_timer_t *handle)
uint64_t uv_timer_get_due_in(const uv_timer_t *handle)
int uv_timer_start(uv_timer_t *handle, uv_timer_cb cb, uint64_t timeout, uint64_t repeat)
void uv__timer_close(uv_timer_t *handle)
#define uv__is_closing(h)
#define uv__handle_init(loop_, h, type_)
#define uv__handle_stop(h)
#define uv__handle_start(h)
void(* uv_timer_cb)(uv_timer_t *handle)