MCPcopy Create free account
hub / github.com/Kitware/CMake / uv_timer_again

Function uv_timer_again

Utilities/cmlibuv/src/timer.c:111–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109
110
111int uv_timer_again(uv_timer_t* handle) {
112 if (handle->timer_cb == NULL)
113 return UV_EINVAL;
114
115 if (handle->repeat) {
116 uv_timer_stop(handle);
117 uv_timer_start(handle, handle->timer_cb, handle->repeat, handle->repeat);
118 }
119
120 return 0;
121}
122
123
124void uv_timer_set_repeat(uv_timer_t* handle, uint64_t repeat) {

Callers 1

uv__run_timersFunction · 0.85

Calls 2

uv_timer_stopFunction · 0.85
uv_timer_startFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…