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

Method destroy_timer

lib_acl_cpp/src/stream/aio_handle.cpp:175–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175void aio_handle::destroy_timer(aio_timer_callback* callback)
176{
177 delay_free_timer_->del(callback);
178
179 // ����ö�ʱ���Ѿ��� trigger �б���������ֻ��Ҫ
180 // �����ڽ�������Ҫ�������ٵı�ʶ���ɣ����䱾��
181 // ��������
182 if (callback->locked()) {
183 callback->destroy_on_unlock_ = true;
184 }
185
186 // ֱ������δ�����Ķ�ʱ��
187 else {
188 callback->destroy();
189 }
190}
191
192ACL_AIO* aio_handle::get_handle() const
193{

Callers

nothing calls this directly

Calls 3

lockedMethod · 0.80
delMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected