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

Method del_timer

lib_acl_cpp/src/stream/aio_handle.cpp:139–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139acl_int64 aio_handle::del_timer(aio_timer_callback* callback, unsigned int id)
140{
141 acl_assert(aio_);
142 acl_int64 next_delay = callback->del_task(id);
143
144 // �����ʱ���е�����Ϊ�գ���ɾ���ö�ʱ��
145 if (callback->empty()) {
146 return del_timer(callback);
147 }
148
149 return acl_aio_request_timer(callback->handle_->aio_,
150 (void (*)(int, ACL_EVENT*, void*)) on_timer_callback,
151 callback, next_delay < 0 ? 0 : next_delay,
152 callback->keep_timer() ? 1 : 0);
153}
154
155acl_int64 aio_handle::del_timer(aio_timer_callback* callback)
156{

Callers 15

timer_callbackMethod · 0.80
~CwinaioDlgMethod · 0.80
OnBnClickedDelTimerMethod · 0.80
closeMethod · 0.80
~io_callbackMethod · 0.80
read_callbackMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
finishMethod · 0.80
~aio_istreamMethod · 0.80
gets_awaitMethod · 0.80
read_awaitMethod · 0.80

Calls 6

acl_aio_request_timerFunction · 0.85
acl_aio_cancel_timerFunction · 0.85
del_taskMethod · 0.45
emptyMethod · 0.45
keep_timerMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected