Go to the documentation of this file.
50 fprintf(
stderr,
"repeat_1_cb called after %ld ms\n",
73 fprintf(
stderr,
"repeat_2_cb called after %ld ms\n",
85 fprintf(
stderr,
"uv_timer_get_repeat %ld ms\n",
135 fprintf(
stderr,
"Test took %ld ms (expected ~700 ms)\n",
static void repeat_2_cb(uv_timer_t *handle)
UV_EXTERN uint64_t uv_timer_get_repeat(const uv_timer_t *handle)
static int repeat_1_cb_called
UV_EXTERN int uv_timer_again(uv_timer_t *handle)
static int repeat_2_cb_allowed
UV_EXTERN uint64_t uv_now(const uv_loop_t *)
UV_EXTERN int uv_run(uv_loop_t *, uv_run_mode mode)
UV_EXTERN void uv_unref(uv_handle_t *)
UV_EXTERN void uv_close(uv_handle_t *handle, uv_close_cb close_cb)
UV_EXTERN uv_loop_t * uv_default_loop(void)
static uv_timer_t repeat_1
unsigned __int64 uint64_t
UV_EXTERN int uv_is_active(const uv_handle_t *handle)
static void close_cb(uv_handle_t *handle)
UV_EXTERN void uv_timer_set_repeat(uv_timer_t *handle, uint64_t repeat)
#define MAKE_VALGRIND_HAPPY()
static uv_timer_t repeat_2
static void repeat_1_cb(uv_timer_t *handle)
static int close_cb_called
UV_EXTERN int uv_timer_start(uv_timer_t *handle, uv_timer_cb cb, uint64_t timeout, uint64_t repeat)
static uint64_t start_time
UV_EXTERN int uv_timer_init(uv_loop_t *, uv_timer_t *handle)
static int repeat_2_cb_called
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:30