MCPcopy Create free account
hub / github.com/acl-dev/acl / set_timer

Method set_timer

lib_acl_cpp/src/stream/aio_handle.cpp:94–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94acl_int64 aio_handle::set_timer(aio_timer_callback* callback,
95 acl_int64 delay, unsigned int id /* = 0 */)
96{
97 acl_assert(aio_);
98 callback->handle_ = this;
99 delay = callback->set_task(id, delay);
100 return acl_aio_request_timer(aio_,
101 (void (*)(int, ACL_EVENT*, void*)) on_timer_callback,
102 callback, delay < 0 ? 0 : delay,
103 callback->keep_ ? 1 : 0);
104}
105
106void aio_handle::on_timer_callback(int, ACL_EVENT*,
107 aio_timer_callback *callback)

Callers 13

aio_startFunction · 0.80
OnBnClickedSetTimerMethod · 0.80
mainFunction · 0.80
read_callbackMethod · 0.80
proc_pre_jailMethod · 0.80
proc_on_initMethod · 0.80
startMethod · 0.80
startMethod · 0.80
runMethod · 0.80
gets_awaitMethod · 0.80
read_awaitMethod · 0.80
write_awaitMethod · 0.80

Calls 2

acl_aio_request_timerFunction · 0.85
set_taskMethod · 0.45

Tested by

no test coverage detected