Rizin
unix-like reverse engineering framework and cli tools
|
#include "uv.h"
#include "uv-common.h"
#include "heap-inl.h"
#include <assert.h>
#include <limits.h>
Go to the source code of this file.
Functions | |
static struct heap * | timer_heap (const uv_loop_t *loop) |
static int | timer_less_than (const struct heap_node *ha, const struct heap_node *hb) |
int | uv_timer_init (uv_loop_t *loop, uv_timer_t *handle) |
int | uv_timer_start (uv_timer_t *handle, uv_timer_cb cb, uint64_t timeout, uint64_t repeat) |
int | uv_timer_stop (uv_timer_t *handle) |
int | uv_timer_again (uv_timer_t *handle) |
void | uv_timer_set_repeat (uv_timer_t *handle, uint64_t repeat) |
uint64_t | uv_timer_get_repeat (const uv_timer_t *handle) |
uint64_t | uv_timer_get_due_in (const uv_timer_t *handle) |
int | uv__next_timeout (const uv_loop_t *loop) |
void | uv__run_timers (uv_loop_t *loop) |
void | uv__timer_close (uv_timer_t *handle) |
Definition at line 29 of file timer.c.
References loop.
Referenced by uv__next_timeout(), uv__run_timers(), uv_loop_init(), uv_timer_start(), and uv_timer_stop().
Definition at line 38 of file timer.c.
References a, b, and container_of.
Referenced by uv_timer_start(), and uv_timer_stop().
Definition at line 141 of file timer.c.
References container_of, handle, INT_MAX, loop, NULL, and timer_heap().
Referenced by uv_backend_timeout().
void uv__run_timers | ( | uv_loop_t * | loop | ) |
Definition at line 162 of file timer.c.
References container_of, handle, loop, NULL, timer_heap(), uv_timer_again(), and uv_timer_stop().
Referenced by uv_run().
void uv__timer_close | ( | uv_timer_t * | handle | ) |
Definition at line 182 of file timer.c.
References handle, and uv_timer_stop().
Referenced by uv_close(), and uv_process_endgames().
int uv_timer_again | ( | uv_timer_t * | handle | ) |
Definition at line 110 of file timer.c.
References handle, NULL, uv_timer_start(), and uv_timer_stop().
Referenced by uv__run_timers().
uint64_t uv_timer_get_due_in | ( | const uv_timer_t * | handle | ) |
uint64_t uv_timer_get_repeat | ( | const uv_timer_t * | handle | ) |
int uv_timer_init | ( | uv_loop_t * | loop, |
uv_timer_t * | handle | ||
) |
Definition at line 58 of file timer.c.
References handle, loop, NULL, and uv__handle_init.
Referenced by eof_timer_init(), main(), and uv_fs_poll_start().
void uv_timer_set_repeat | ( | uv_timer_t * | handle, |
uint64_t | repeat | ||
) |
int uv_timer_start | ( | uv_timer_t * | handle, |
uv_timer_cb | cb, | ||
uint64_t | timeout, | ||
uint64_t | repeat | ||
) |
Definition at line 66 of file timer.c.
References cb, handle, NULL, repeat(), timeout, timer_heap(), timer_less_than(), uv__handle_start, uv__is_active, uv__is_closing, and uv_timer_stop().
Referenced by eof_timer_start(), main(), poll_cb(), start_timeout(), and uv_timer_again().
int uv_timer_stop | ( | uv_timer_t * | handle | ) |
Definition at line 97 of file timer.c.
References handle, timer_heap(), timer_less_than(), uv__handle_stop, and uv__is_active.
Referenced by curl_perform(), eof_timer_stop(), update(), uv__run_timers(), uv__timer_close(), uv_close(), uv_timer_again(), and uv_timer_start().