MCPcopy Create free account
hub / github.com/apache/qpid-proton / start_timer

Function start_timer

c/src/proactor/win_iocp.cpp:2122–2128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2120}
2121
2122static bool start_timer(HANDLE tqueue, HANDLE *timer, WAITORTIMERCALLBACK cb, void *cb_arg, DWORD time) {
2123 if (*timer) {
2124 // TODO: log err
2125 return false;
2126 }
2127 return CreateTimerQueueTimer(timer, tqueue, cb, cb_arg, time, 0, WT_EXECUTEONLYONCE);
2128}
2129
2130VOID CALLBACK tick_timer_cb(PVOID arg, BOOLEAN /* ignored*/ ) {
2131 pconnection_t *pc = (pconnection_t *) arg;

Callers 2

pconnection_tickFunction · 0.85
pn_proactor_set_timeoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected